python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / spdx / default.nix
bloba99ee507936b673548dde53183ec0e36b37e7888
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   nix-update-script,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "spdx";
11   version = "2.5";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "bbqsrc";
16     repo = "spdx-python";
17     rev = "refs/tags/v${version}";
18     hash = "sha256-lfTgAX4Wl01xrvLA12ZUqjah7ZiLafMAU+yNNdVkRk0=";
19   };
21   build-system = [ setuptools ];
23   pythonImportsCheck = [ "spdx" ];
25   # upstream has no tests
26   doCheck = false;
28   passthru.updateScript = nix-update-script { };
30   meta = {
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 ];
36   };