about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-03-19 14:07:05 +0100
committerGitHub <noreply@github.com>2024-03-19 14:07:05 +0100
commit419dc9add4a58ba50fd855421f20b9dd7c96549a (patch)
tree0749c0c2a0e134f8fb5ade2dd57d92e05b41fa01 /pkgs
parent649d4a4e9312c21eb62e44709b0f8719c7a80d6f (diff)
parent69312ee9ff1bc72ee05e6bb24d483cd8236a5d78 (diff)
Merge pull request #296795 from r-ryantm/auto-update/python312Packages.python-stdnum
python312Packages.python-stdnum: 1.19 -> 1.20
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/python-stdnum/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/python-stdnum/default.nix b/pkgs/development/python-modules/python-stdnum/default.nix
index f251b47c60862..d8bdc0574dc95 100644
--- a/pkgs/development/python-modules/python-stdnum/default.nix
+++ b/pkgs/development/python-modules/python-stdnum/default.nix
@@ -3,26 +3,31 @@
 , fetchPypi
 , pytestCheckHook
 , pythonOlder
+, setuptools
 , zeep
 }:
 
 buildPythonPackage rec {
   pname = "python-stdnum";
-  version = "1.19";
-  format = "setuptools";
+  version = "1.20";
+  pyproject = true;
 
   disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-Ez7IL1Y5DqdMGQVp6Y8vsUuGmAix1UeFcI8i0P6tiz8=";
+    hash = "sha256-rSos8usCXeQIIQI182tK4xJS3jGGJAzKqBJuEXy4JpA=";
   };
 
   postPatch = ''
     substituteInPlace setup.cfg \
-      --replace " --cov=stdnum --cov-report=term-missing:skip-covered --cov-report=html" ""
+      --replace-fail " --cov=stdnum --cov-report=term-missing:skip-covered --cov-report=html" ""
   '';
 
+  nativeBuildInputs = [
+    setuptools
+  ];
+
   nativeCheckInputs = [
     pytestCheckHook
   ];