python3Packages.spdx-license-list: init at 3.28.0
Assisted-By: nix-init
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user