Files
nixpkgs/pkgs/development/python-modules/licomp-osadl/default.nix
eljamm 65bb792228 python3Packages.licomp-osadl: init at 0.5.1
Assisted-By: nix-init
2026-06-09 18:18:21 +02:00

59 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
licomp,
# tests
pytestCheckHook,
jsonschema,
}:
buildPythonPackage (finalAttrs: {
pname = "licomp-osadl";
version = "0.5.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "hesa";
repo = "licomp-osadl";
tag = finalAttrs.version;
hash = "sha256-aWJG7HxYs/8/Km3EpY8/XewCILlgePoKsdJyL8CM6LI=";
};
build-system = [
setuptools
];
dependencies = [
licomp
];
nativeCheckInputs = [
pytestCheckHook
jsonschema
];
pythonImportsCheck = [
"licomp_osadl"
];
meta = {
description = "Implementation of Licomp using OSADL's matrix";
homepage = "https://github.com/hesa/licomp-osadl";
changelog = "https://github.com/hesa/licomp-osadl/releases/tag/${finalAttrs.src.tag}";
license = with lib.licenses; [
cc-by-40
gpl3Plus
];
maintainers = with lib.maintainers; [ eljamm ];
teams = with lib.teams; [ ngi ];
};
})