mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 23:21:27 +00:00
python3Pakcages.licomp-oslc-handbook: init at 0.1.2
Assisted-By: nix-init
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
licomp,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
jsonschema,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "licomp-oslc-handbook";
|
||||
version = "0.1.2";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hesa";
|
||||
repo = "licomp-oslc-handbook";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-cE3X7oT5Xg1W9lAMLJCYE6qRqrrXpVGLfBp18ynUYLE=";
|
||||
postFetch = ''
|
||||
# conflicts with `licenses` on Darwin, thus producing a different source
|
||||
# hash.
|
||||
mv $out/LICENSES $out/LICENSES_
|
||||
'';
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
licomp
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
jsonschema
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"licomp_oslc_handbook"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Licomp implementaiton of OSLC-handbook";
|
||||
homepage = "https://github.com/hesa/licomp-oslc-handbook";
|
||||
changelog = "https://github.com/hesa/licomp-oslc-handbook/releases/tag/${finalAttrs.src.tag}";
|
||||
license = with lib.licenses; [
|
||||
cc-by-40
|
||||
cc-by-sa-40
|
||||
gpl3Plus
|
||||
];
|
||||
maintainers = with lib.maintainers; [ eljamm ];
|
||||
teams = with lib.teams; [ ngi ];
|
||||
# TODO: remove when this is resolved:
|
||||
# https://github.com/hesa/licomp-oslc-handbook/issues/4
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
};
|
||||
})
|
||||
@@ -9071,6 +9071,8 @@ self: super: with self; {
|
||||
|
||||
licomp-osadl = callPackage ../development/python-modules/licomp-osadl { };
|
||||
|
||||
licomp-oslc-handbook = callPackage ../development/python-modules/licomp-oslc-handbook { };
|
||||
|
||||
lida = callPackage ../development/python-modules/lida { };
|
||||
|
||||
lief = (toPythonModule (pkgs.lief.override { python3 = python; })).py;
|
||||
|
||||
Reference in New Issue
Block a user