Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / spdx / default.nix
blobf09fcfceec8d3204e845dfded153f15db3e47222
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , nix-update-script
5 }:
7 buildPythonPackage rec {
8   pname = "spdx";
9   version = "2.5";
11   src = fetchFromGitHub {
12     owner = "bbqsrc";
13     repo = "spdx-python";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-lfTgAX4Wl01xrvLA12ZUqjah7ZiLafMAU+yNNdVkRk0=";
16   };
18   pythonImportsCheck = [
19     "spdx"
20   ];
22   passthru.updateScript = nix-update-script { };
24   meta = {
25     description = "SPDX license list database";
26     homepage = "https://github.com/bbqsrc/spdx-python";
27     changelog = "https://github.com/bbqsrc/spdx-python/releases/tag/v${version}";
28     license = lib.licenses.cc0;
29     maintainers = with lib.maintainers; [ jnsgruk ];
30   };