11 buildPythonPackage rec {
12 pname = "license-expression";
16 disabled = pythonOlder "3.9";
18 src = fetchFromGitHub {
19 owner = "aboutcode-org";
20 repo = "license-expression";
22 hash = "sha256-H1IAA/fxQkMMsvCv02gLXE3odokNejPRGZVZnhE61II=";
27 build-system = [ setuptools-scm ];
29 dependencies = [ boolean-py ];
31 nativeCheckInputs = [ pytestCheckHook ];
33 pythonImportsCheck = [ "license_expression" ];
36 description = "Utility library to parse, normalize and compare License expressions";
37 homepage = "https://github.com/aboutcode-org/license-expression";
38 changelog = "https://github.com/aboutcode-org/license-expression/blob/v${version}/CHANGELOG.rst";
39 license = licenses.asl20;
40 maintainers = with maintainers; [ fab ];