summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-stdnum
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-stdnum')
-rw-r--r--pkgs/development/python-modules/python-stdnum/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-stdnum/default.nix b/pkgs/development/python-modules/python-stdnum/default.nix
index 1ed3ffd6649b..19142bc13fb8 100644
--- a/pkgs/development/python-modules/python-stdnum/default.nix
+++ b/pkgs/development/python-modules/python-stdnum/default.nix
@@ -3,6 +3,7 @@
, fetchPypi
, pytestCheckHook
, pythonOlder
+, zeep
}:
buildPythonPackage rec {
@@ -17,10 +18,21 @@ buildPythonPackage rec {
hash = "sha256-vMdj2cSa4j2l0remhtX9He7J2QUTQRYKENGscjomvsA=";
};
+ postPatch = ''
+ substituteInPlace setup.cfg \
+ --replace " --cov=stdnum --cov-report=term-missing:skip-covered --cov-report=html" ""
+ '';
+
nativeCheckInputs = [
pytestCheckHook
];
+ passthru.optional-dependencies = {
+ SOAP = [
+ zeep
+ ];
+ };
+
pythonImportsCheck = [
"stdnum"
];