python3Packages.pyaxmlparser: 0.3.24 -> 0.3.26
This commit is contained in:
parent
60d4ac8280
commit
781097640e
@ -1,29 +1,19 @@
|
|||||||
{ buildPythonPackage, lib, lxml, click, fetchFromGitHub, pytest, isPy3k }:
|
{ buildPythonPackage, lib, lxml, click, fetchFromGitHub, pytestCheckHook, asn1crypto }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.3.24";
|
version = "0.3.26";
|
||||||
pname = "pyaxmlparser";
|
pname = "pyaxmlparser";
|
||||||
|
|
||||||
# the PyPI tarball doesn't ship tests.
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "appknox";
|
owner = "appknox";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0fys26p7xhbnbdzp80zm6n3mragp38p08nyrsnilfgnlpi6rjpg0";
|
sha256 = "sha256-wD0rN00q4ipKnKubptrgrjNwkBpqsA+ix2xedOOr8Yg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = !isPy3k;
|
propagatedBuildInputs = [ asn1crypto click lxml ];
|
||||||
|
|
||||||
postPatch = ''
|
checkInputs = [ pytestCheckHook ];
|
||||||
substituteInPlace setup.py --replace "click==6.7" "click"
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ lxml click ];
|
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
|
||||||
checkPhase = ''
|
|
||||||
py.test tests/
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python3 Parser for Android XML file and get Application Name without using Androguard";
|
description = "Python3 Parser for Android XML file and get Application Name without using Androguard";
|
||||||
|
Loading…
Reference in New Issue
Block a user