diff options
Diffstat (limited to 'pkgs/development/python-modules/signxml/default.nix')
-rw-r--r-- | pkgs/development/python-modules/signxml/default.nix | 43 |
1 files changed, 18 insertions, 25 deletions
diff --git a/pkgs/development/python-modules/signxml/default.nix b/pkgs/development/python-modules/signxml/default.nix index c6c6ccea9b15..433858761261 100644 --- a/pkgs/development/python-modules/signxml/default.nix +++ b/pkgs/development/python-modules/signxml/default.nix @@ -1,18 +1,19 @@ -{ lib -, buildPythonPackage -, certifi -, cryptography -, fetchFromGitHub -, lxml -, pyopenssl -, pytestCheckHook -, pythonOlder -, setuptools +{ + lib, + buildPythonPackage, + certifi, + cryptography, + fetchFromGitHub, + lxml, + pyopenssl, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "signxml"; - version = "3.2.2"; + version = "4.0.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,31 +22,23 @@ buildPythonPackage rec { owner = "XML-Security"; repo = "signxml"; rev = "refs/tags/v${version}"; - hash = "sha256-TlOIHYvx1o46nr/3qq45pgeOqmuyWaaTGvOS0Jwz1zs="; + hash = "sha256-ZpboU0N8dD03yHSboMpC+TJvp16StM45Qhn0Hv9+6fg="; }; - nativeBuildInputs = [ - setuptools - ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ certifi cryptography lxml pyopenssl ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "signxml" - ]; + pythonImportsCheck = [ "signxml" ]; - pytestFlagsArray = [ - "test/test.py" - ]; + pytestFlagsArray = [ "test/test.py" ]; meta = with lib; { description = "Python XML Signature and XAdES library"; |