python3Packages.spdx-license-list: init at 3.28.0

Assisted-By: nix-init
This commit is contained in:
eljamm
2026-06-08 15:28:41 +02:00
parent cfb97cae7d
commit 43bf06d2a1
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
}:
buildPythonPackage (finalAttrs: {
pname = "spdx-license-list";
version = "3.28.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "JJMC89";
repo = "spdx-license-list";
tag = "v${finalAttrs.version}";
hash = "sha256-qzEWa2SY4XfW+DgAl6UNUItYWGJ/dJM6jZ/ZekoVgNc=";
};
build-system = [
poetry-core
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [
"spdx_license_list"
];
meta = {
description = "SPDX License List as a Python dictionary";
homepage = "https://github.com/JJMC89/spdx-license-list";
changelog = "https://github.com/JJMC89/spdx-license-list/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eljamm ];
teams = with lib.teams; [ ngi ];
};
})
+2
View File
@@ -18417,6 +18417,8 @@ self: super: with self; {
spdx = callPackage ../development/python-modules/spdx { };
spdx-license-list = callPackage ../development/python-modules/spdx-license-list { };
spdx-tools = callPackage ../development/python-modules/spdx-tools { };
speak2mary = callPackage ../development/python-modules/speak2mary { };