python3Packages.spdx: init at 2.5

This commit is contained in:
Jon Seager 2024-03-13 16:32:08 +00:00
parent 55251f1ffc
commit 4de7a19d2a
No known key found for this signature in database
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, nix-update-script
}:
buildPythonPackage rec {
pname = "spdx";
version = "2.5";
src = fetchFromGitHub {
owner = "bbqsrc";
repo = "spdx-python";
rev = "refs/tags/v${version}";
hash = "sha256-lfTgAX4Wl01xrvLA12ZUqjah7ZiLafMAU+yNNdVkRk0=";
};
pythonImportsCheck = [
"spdx"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "SPDX license list database";
homepage = "https://github.com/bbqsrc/spdx-python";
changelog = "https://github.com/bbqsrc/spdx-python/releases/tag/v${version}";
license = lib.licenses.cc0;
maintainers = with lib.maintainers; [ jnsgruk ];
};
}

View file

@ -13842,6 +13842,8 @@ self: super: with self; {
spatial-image = callPackage ../development/python-modules/spatial-image { };
spdx = callPackage ../development/python-modules/spdx { };
spdx-tools = callPackage ../development/python-modules/spdx-tools { };
speaklater = callPackage ../development/python-modules/speaklater { };