tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.pyaxmlparser: 0.3.24 -> 0.3.26
Sandro Jäckel
5 years ago
78109764
60d4ac82
+5
-15
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pyaxmlparser
default.nix
+5
-15
pkgs/development/python-modules/pyaxmlparser/default.nix
···
1
1
-
{ buildPythonPackage, lib, lxml, click, fetchFromGitHub, pytest, isPy3k }:
1
1
+
{ buildPythonPackage, lib, lxml, click, fetchFromGitHub, pytestCheckHook, asn1crypto }:
2
2
3
3
buildPythonPackage rec {
4
4
-
version = "0.3.24";
4
4
+
version = "0.3.26";
5
5
pname = "pyaxmlparser";
6
6
7
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
12
-
sha256 = "0fys26p7xhbnbdzp80zm6n3mragp38p08nyrsnilfgnlpi6rjpg0";
11
11
+
sha256 = "sha256-wD0rN00q4ipKnKubptrgrjNwkBpqsA+ix2xedOOr8Yg=";
13
12
};
14
13
15
15
-
disabled = !isPy3k;
16
16
-
17
17
-
postPatch = ''
18
18
-
substituteInPlace setup.py --replace "click==6.7" "click"
19
19
-
'';
20
20
-
21
21
-
propagatedBuildInputs = [ lxml click ];
14
14
+
propagatedBuildInputs = [ asn1crypto click lxml ];
22
15
23
23
-
checkInputs = [ pytest ];
24
24
-
checkPhase = ''
25
25
-
py.test tests/
26
26
-
'';
16
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";