lol

python3Packages.pyaxmlparser: 0.3.24 -> 0.3.26

+5 -15
+5 -15
pkgs/development/python-modules/pyaxmlparser/default.nix
··· 1 - { buildPythonPackage, lib, lxml, click, fetchFromGitHub, pytest, isPy3k }: 1 + { buildPythonPackage, lib, lxml, click, fetchFromGitHub, pytestCheckHook, asn1crypto }: 2 2 3 3 buildPythonPackage rec { 4 - version = "0.3.24"; 4 + version = "0.3.26"; 5 5 pname = "pyaxmlparser"; 6 6 7 - # the PyPI tarball doesn't ship tests. 8 7 src = fetchFromGitHub { 9 8 owner = "appknox"; 10 9 repo = pname; 11 10 rev = "v${version}"; 12 - sha256 = "0fys26p7xhbnbdzp80zm6n3mragp38p08nyrsnilfgnlpi6rjpg0"; 11 + sha256 = "sha256-wD0rN00q4ipKnKubptrgrjNwkBpqsA+ix2xedOOr8Yg="; 13 12 }; 14 13 15 - disabled = !isPy3k; 16 - 17 - postPatch = '' 18 - substituteInPlace setup.py --replace "click==6.7" "click" 19 - ''; 20 - 21 - propagatedBuildInputs = [ lxml click ]; 14 + propagatedBuildInputs = [ asn1crypto click lxml ]; 22 15 23 - checkInputs = [ pytest ]; 24 - checkPhase = '' 25 - py.test tests/ 26 - ''; 16 + checkInputs = [ pytestCheckHook ]; 27 17 28 18 meta = with lib; { 29 19 description = "Python3 Parser for Android XML file and get Application Name without using Androguard";