diff --git a/pkgs/development/python-modules/reptor/default.nix b/pkgs/development/python-modules/reptor/default.nix index 3f472ef12733..3c52cc3f49aa 100644 --- a/pkgs/development/python-modules/reptor/default.nix +++ b/pkgs/development/python-modules/reptor/default.nix @@ -1,38 +1,39 @@ -{ 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 { pname = "reptor"; - version = "0.17"; + version = "0.18"; pyproject = true; disabled = pythonOlder "3.8"; @@ -41,15 +42,14 @@ buildPythonPackage rec { owner = "Syslifters"; repo = "reptor"; rev = "refs/tags/${version}"; - hash = "sha256-3GINDFKgvFv03xF+77K+sTKSm0+kLF5m70dQ/iksZeM="; + hash = "sha256-sojU2Asop0b/b/gfKXoRseuT1zHEO00JNrRWhMYh0Vo="; }; pythonRelaxDeps = true; - build-system = [ - pythonRelaxDepsHook - setuptools - ]; + build-system = [ setuptools ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; dependencies = [ asgiref @@ -74,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 = [ @@ -91,9 +87,7 @@ buildPythonPackage rec { export PATH="$PATH:$out/bin"; ''; - pythonImportsCheck = [ - "reptor" - ]; + pythonImportsCheck = [ "reptor" ]; disabledTestPaths = [ # Tests want to use pip install dependencies @@ -104,7 +98,6 @@ buildPythonPackage rec { # Tests need network access "TestDummy" "TestIntegration" - ]; meta = with lib; {