diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-04-09 11:12:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 11:12:57 +0200 |
commit | afa2cc084e6fed579e3e4a92c5fc864c99d3ddb2 (patch) | |
tree | 2ee667fe2d28034fc30208c58f61671767d064b4 /pkgs | |
parent | 550f705f42361b8cba8e41f8d8133c0258bd854c (diff) | |
parent | 1a387379ac18af10b5a64c362485daae583f600b (diff) |
Merge pull request #302752 from r-ryantm/auto-update/python312Packages.reptor
python312Packages.reptor: 0.17 -> 0.18
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/reptor/default.nix | 85 |
1 files changed, 39 insertions, 46 deletions
diff --git a/pkgs/development/python-modules/reptor/default.nix b/pkgs/development/python-modules/reptor/default.nix index 3f472ef12733b..3c52cc3f49aa2 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; { |