python3Packages.licomp: init at 0.5.22

Assisted-By: nix-init
This commit is contained in:
eljamm
2026-06-03 15:14:06 +02:00
parent e65518d7b3
commit ca1f3b250f
2 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
{
lib,
buildPythonPackage,
fetchFromGitea,
# build-system
setuptools,
# dependencies
pyyaml,
# tests
pytestCheckHook,
jsonschema,
}:
buildPythonPackage (finalAttrs: {
pname = "licomp";
version = "0.5.22";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitea {
domain = "codeberg.org";
owner = "software-compliance-org";
repo = "licomp";
tag = finalAttrs.version;
hash = "sha256-yZZfWinXdMmF/FQQ3+MwHRypK5Xz2EEMruJLCAtl/6Q=";
};
build-system = [
setuptools
];
dependencies = [
pyyaml
];
nativeCheckInputs = [
pytestCheckHook
jsonschema
];
pythonImportsCheck = [
"licomp"
];
meta = {
description = "License Compatibility - Generalised API for use in license compatibility";
homepage = "https://codeberg.org/software-compliance-org/licomp";
license = with lib.licenses; [
gpl3Plus
];
maintainers = with lib.maintainers; [ eljamm ];
teams = with lib.teams; [ ngi ];
};
})

View File

@@ -9059,6 +9059,8 @@ self: super: with self; {
license-expression = callPackage ../development/python-modules/license-expression { };
licomp = callPackage ../development/python-modules/licomp { };
lida = callPackage ../development/python-modules/lida { };
lief = (toPythonModule (pkgs.lief.override { python3 = python; })).py;