tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.license-expression: 1.2 -> 21.6.14
Fabian Affolter
4 years ago
570e2536
54caa413
+27
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
license-expression
default.nix
+27
-7
pkgs/development/python-modules/license-expression/default.nix
···
1
1
-
{ lib, buildPythonPackage, fetchFromGitHub
1
1
+
{ lib
2
2
, boolean-py
3
3
+
, buildPythonPackage
4
4
+
, fetchFromGitHub
5
5
+
, pytestCheckHook
6
6
+
, pythonOlder
7
7
+
, setuptools-scm
3
8
}:
4
9
5
10
buildPythonPackage rec {
6
11
pname = "license-expression";
7
7
-
version = "1.2";
12
12
+
version = "21.6.14";
13
13
+
14
14
+
disabled = pythonOlder "3.6";
8
15
9
16
src = fetchFromGitHub {
10
17
owner = "nexB";
11
18
repo = "license-expression";
12
19
rev = "v${version}";
13
13
-
sha256 = "0bbd7d90z58p9sd01b00g0vfd9bmwzksjb7pc8833s2jpja9mxz1";
20
20
+
sha256 = "sha256-hwfYKKalo8WYFwPCsRRXNz+/F8/42PXA8jxbIQjJH/g=";
14
21
};
15
15
-
postPatch = "patchShebangs ./configure";
16
22
17
17
-
propagatedBuildInputs = [ boolean-py ];
23
23
+
dontConfigure = true;
24
24
+
25
25
+
nativeBuildInputs = [
26
26
+
setuptools-scm
27
27
+
];
28
28
+
29
29
+
propagatedBuildInputs = [
30
30
+
boolean-py
31
31
+
];
32
32
+
33
33
+
checkInputs = [
34
34
+
pytestCheckHook
35
35
+
];
36
36
+
37
37
+
pythonImportsCheck = [ "license_expression" ];
18
38
19
39
meta = with lib; {
40
40
+
description = "Utility library to parse, normalize and compare License expressions for Python";
20
41
homepage = "https://github.com/nexB/license-expression";
21
21
-
description = "Utility library to parse, normalize and compare License expressions for Python using a boolean logic engine";
22
42
license = licenses.asl20;
43
43
+
maintainers = with maintainers; [ fab ];
23
44
};
24
24
-
25
45
}