mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
53 lines
1 KiB
Nix
53 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
licomp,
|
|
pytestCheckHook,
|
|
jsonschema,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "licomp-hermione";
|
|
version = "0.5.2";
|
|
pyproject = true;
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hesa";
|
|
repo = "licomp-hermione";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-TIfi7E+BBChOz/EXRJxjFRYavVRPfnSkBHTaiY87k/Y=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
licomp
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
jsonschema
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"licomp_hermione"
|
|
];
|
|
|
|
meta = {
|
|
description = "Implementation of Licomp using the Hermine license resource";
|
|
homepage = "https://github.com/hesa/licomp-hermione";
|
|
changelog = "https://github.com/hesa/licomp-hermione/releases/tag/${finalAttrs.src.tag}";
|
|
license = with lib.licenses; [
|
|
bsd0
|
|
gpl3Plus
|
|
odbl
|
|
];
|
|
maintainers = with lib.maintainers; [ eljamm ];
|
|
teams = with lib.teams; [ ngi ];
|
|
};
|
|
})
|