10 buildPythonPackage rec {
11 pname = "license-expression";
13 format = "setuptools";
15 disabled = pythonOlder "3.6";
17 src = fetchFromGitHub {
19 repo = "license-expression";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-5pRfFRQLxWmhEKoJZiC7gZbmW8BbqBNBWbdwFL0MtpM=";
24 SETUPTOOLS_SCM_PRETEND_VERSION = version;
32 propagatedBuildInputs = [
40 pythonImportsCheck = [
45 description = "Utility library to parse, normalize and compare License expressions";
46 homepage = "https://github.com/nexB/license-expression";
47 changelog = "https://github.com/nexB/license-expression/blob/v${version}/CHANGELOG.rst";
48 license = licenses.asl20;
49 maintainers = with maintainers; [ fab ];