9 buildPythonPackage rec {
14 src = fetchFromGitHub {
17 rev = "refs/tags/v${version}";
18 hash = "sha256-lfTgAX4Wl01xrvLA12ZUqjah7ZiLafMAU+yNNdVkRk0=";
21 build-system = [ setuptools ];
23 pythonImportsCheck = [ "spdx" ];
25 # upstream has no tests
28 passthru.updateScript = nix-update-script { };
31 description = "SPDX license list database";
32 homepage = "https://github.com/bbqsrc/spdx-python";
33 changelog = "https://github.com/bbqsrc/spdx-python/releases/tag/v${version}";
34 license = lib.licenses.cc0;
35 maintainers = with lib.maintainers; [ jnsgruk ];