python3Packages.licomp-reclicense: init at 0.5.1

Assisted-By: nix-init
This commit is contained in:
eljamm
2026-06-09 18:18:23 +02:00
parent b94eeafa6e
commit 63afe69921
2 changed files with 60 additions and 0 deletions
@@ -0,0 +1,58 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
licomp,
# tests
pytestCheckHook,
jsonschema,
}:
buildPythonPackage (finalAttrs: {
pname = "licomp-reclicense";
version = "0.5.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "hesa";
repo = "licomp-reclicense";
tag = finalAttrs.version;
hash = "sha256-dCUsSZ70iKNCk8QcTtQ6Kn8BdyqK2E3Arkfx4aHmhmM=";
};
build-system = [
setuptools
];
dependencies = [
licomp
];
nativeCheckInputs = [
pytestCheckHook
jsonschema
];
pythonImportsCheck = [
"licomp_reclicense"
];
meta = {
description = "Implementation of Licomp using the Recliense matrix";
homepage = "https://github.com/hesa/licomp-reclicense";
changelog = "https://github.com/hesa/licomp-reclicense/releases/tag/${finalAttrs.src.tag}";
license = with lib.licenses; [
gpl3Plus
mulan-psl2
];
maintainers = with lib.maintainers; [ eljamm ];
teams = with lib.teams; [ ngi ];
};
})
+2
View File
@@ -9075,6 +9075,8 @@ self: super: with self; {
licomp-proprietary = callPackage ../development/python-modules/licomp-proprietary { };
licomp-reclicense = callPackage ../development/python-modules/licomp-reclicense { };
lida = callPackage ../development/python-modules/lida { };
lief = (toPythonModule (pkgs.lief.override { python3 = python; })).py;