diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-04-05 04:51:43 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-04-05 04:53:41 +0200 |
commit | 781097640e9fc80121083f274fdd1fc4d643c4cd (patch) | |
tree | 2a760f3b2e59974e16eb92904b914ab89ec0c8bf /pkgs/development/python-modules/pyaxmlparser | |
parent | 60d4ac8280338495f03803628a49cf042cbabfa6 (diff) |
python3Packages.pyaxmlparser: 0.3.24 -> 0.3.26
Diffstat (limited to 'pkgs/development/python-modules/pyaxmlparser')
-rw-r--r-- | pkgs/development/python-modules/pyaxmlparser/default.nix | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/pyaxmlparser/default.nix b/pkgs/development/python-modules/pyaxmlparser/default.nix index e77c6dda8402d..961b00e15332e 100644 --- a/pkgs/development/python-modules/pyaxmlparser/default.nix +++ b/pkgs/development/python-modules/pyaxmlparser/default.nix @@ -1,29 +1,19 @@ -{ buildPythonPackage, lib, lxml, click, fetchFromGitHub, pytest, isPy3k }: +{ buildPythonPackage, lib, lxml, click, fetchFromGitHub, pytestCheckHook, asn1crypto }: buildPythonPackage rec { - version = "0.3.24"; + version = "0.3.26"; pname = "pyaxmlparser"; - # the PyPI tarball doesn't ship tests. src = fetchFromGitHub { owner = "appknox"; repo = pname; rev = "v${version}"; - sha256 = "0fys26p7xhbnbdzp80zm6n3mragp38p08nyrsnilfgnlpi6rjpg0"; + sha256 = "sha256-wD0rN00q4ipKnKubptrgrjNwkBpqsA+ix2xedOOr8Yg="; }; - disabled = !isPy3k; + propagatedBuildInputs = [ asn1crypto click lxml ]; - postPatch = '' - substituteInPlace setup.py --replace "click==6.7" "click" - ''; - - propagatedBuildInputs = [ lxml click ]; - - checkInputs = [ pytest ]; - checkPhase = '' - py.test tests/ - ''; + checkInputs = [ pytestCheckHook ]; meta = with lib; { description = "Python3 Parser for Android XML file and get Application Name without using Androguard"; |