tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.spdx-tools: 0.6.1 -> 0.7.0a3
Fabian Affolter
4 years ago
6423dc78
291d63f8
+9
-17
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
spdx-tools
default.nix
+9
-17
pkgs/development/python-modules/spdx-tools/default.nix
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
+
, click
3
4
, fetchPypi
4
4
-
, fetchpatch
5
5
-
, six
6
5
, pyyaml
7
6
, rdflib
8
7
, ply
9
8
, xmltodict
10
9
, pytestCheckHook
11
11
-
, pythonAtLeast
10
10
+
, pythonOlder
12
11
}:
12
12
+
13
13
buildPythonPackage rec {
14
14
pname = "spdx-tools";
15
15
-
version = "0.6.1";
15
15
+
version = "0.7.0a3";
16
16
+
17
17
+
disabled = pythonOlder "3.6";
16
18
17
19
src = fetchPypi {
18
20
inherit pname version;
19
19
-
sha256 = "9a1aaae051771e865705dd2fd374c3f73d0ad595c1056548466997551cbd7a81";
21
21
+
sha256 = "sha256-afV1W1n5ubHhqfLFpPO5fxaIy5TaZdw9eDy3JYOJ1oE=";
20
22
};
21
23
22
22
-
patches = lib.optionals (pythonAtLeast "3.9") [
23
23
-
# https://github.com/spdx/tools-python/pull/159
24
24
-
# fixes tests on Python 3.9
25
25
-
(fetchpatch {
26
26
-
name = "drop-encoding-argument.patch";
27
27
-
url = "https://github.com/spdx/tools-python/commit/6c8b9a852f8a787122c0e2492126ee8aa52acff0.patch";
28
28
-
sha256 = "RhvLhexsQRjqYqJg10SAM53RsOW+R93G+mns8C9g5E8=";
29
29
-
})
30
30
-
];
31
31
-
32
24
propagatedBuildInputs = [
33
33
-
six
25
25
+
click
26
26
+
ply
34
27
pyyaml
35
28
rdflib
36
36
-
ply
37
29
xmltodict
38
30
];
39
31