diff --git a/pkgs/development/python-modules/reptor/default.nix b/pkgs/development/python-modules/reptor/default.nix index f7c7b1975d51..3c52cc3f49aa 100644 --- a/pkgs/development/python-modules/reptor/default.nix +++ b/pkgs/development/python-modules/reptor/default.nix @@ -1,33 +1,34 @@ -{ lib -, asgiref -, buildPythonPackage -, certifi -, charset-normalizer -, cvss -, deepl -, django -, fetchFromGitHub -, gql -, idna -, markdown-it-py -, mdurl -, pygments -, pytest -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, pyyaml -, reptor -, requests -, rich -, setuptools -, sqlparse -, termcolor -, tomli -, tomli-w -, tomlkit -, urllib3 -, xmltodict +{ + lib, + asgiref, + buildPythonPackage, + certifi, + charset-normalizer, + cvss, + deepl, + django, + fetchFromGitHub, + gql, + idna, + markdown-it-py, + mdurl, + pygments, + pytest, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + pyyaml, + reptor, + requests, + rich, + setuptools, + sqlparse, + termcolor, + tomli, + tomli-w, + tomlkit, + urllib3, + xmltodict, }: buildPythonPackage rec { @@ -46,13 +47,9 @@ buildPythonPackage rec { pythonRelaxDeps = true; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; - nativeBuildInputs = [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; dependencies = [ asgiref @@ -77,12 +74,8 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - ghostwriter = [ - gql - ] ++ gql.optional-dependencies.aiohttp; - translate = [ - deepl - ]; + ghostwriter = [ gql ] ++ gql.optional-dependencies.aiohttp; + translate = [ deepl ]; }; nativeCheckInputs = [ @@ -94,9 +87,7 @@ buildPythonPackage rec { export PATH="$PATH:$out/bin"; ''; - pythonImportsCheck = [ - "reptor" - ]; + pythonImportsCheck = [ "reptor" ]; disabledTestPaths = [ # Tests want to use pip install dependencies @@ -107,7 +98,6 @@ buildPythonPackage rec { # Tests need network access "TestDummy" "TestIntegration" - ]; meta = with lib; {