blob: 4988a3d25674ca13441ad5758932be287de9efef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{ lib
, boolean-py
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "license-expression";
version = "30.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nexB";
repo = "license-expression";
rev = "refs/tags/v${version}";
hash = "sha256-vsQsHi2jdB0OiV6stm1APjQvr+238UoKgaaeXVx/isI=";
};
dontConfigure = true;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
boolean-py
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"license_expression"
];
meta = with lib; {
description = "Utility library to parse, normalize and compare License expressions";
homepage = "https://github.com/nexB/license-expression";
changelog = "https://github.com/nexB/license-expression/blob/v${version}/CHANGELOG.rst";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}
|