{python3Packages.,}licomp-toolkit: init at 0.5.20
Assisted-By: nix-init
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{ python3Packages }:
|
||||
|
||||
python3Packages.toPythonApplication python3Packages.licomp-toolkit
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitea,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
foss-flame,
|
||||
licomp,
|
||||
licomp-doubleopen,
|
||||
licomp-dwheeler,
|
||||
licomp-gnuguide,
|
||||
licomp-hermione,
|
||||
licomp-osadl,
|
||||
licomp-oslc-handbook,
|
||||
licomp-proprietary,
|
||||
licomp-reclicense,
|
||||
pyyaml,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "licomp-toolkit";
|
||||
version = "0.5.20";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "software-compliance-org";
|
||||
repo = "licomp-toolkit";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-E6ehhQj1EcpW+8Cf2b+dtYSCH7fQ/AgS8uWIN4ipeCQ=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
foss-flame
|
||||
licomp
|
||||
licomp-doubleopen
|
||||
licomp-dwheeler
|
||||
licomp-gnuguide
|
||||
licomp-hermione
|
||||
licomp-osadl
|
||||
licomp-oslc-handbook
|
||||
licomp-proprietary
|
||||
licomp-reclicense
|
||||
pyyaml
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"licomp_toolkit"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python module and program to check compatibility between two licenses with context";
|
||||
homepage = "https://codeberg.org/software-compliance-org/licomp-toolkit";
|
||||
mainProgram = "licomp-toolkit";
|
||||
license = with lib.licenses; [
|
||||
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;
|
||||
};
|
||||
})
|
||||
@@ -9077,6 +9077,8 @@ self: super: with self; {
|
||||
|
||||
licomp-reclicense = callPackage ../development/python-modules/licomp-reclicense { };
|
||||
|
||||
licomp-toolkit = callPackage ../development/python-modules/licomp-toolkit { };
|
||||
|
||||
lida = callPackage ../development/python-modules/lida { };
|
||||
|
||||
lief = (toPythonModule (pkgs.lief.override { python3 = python; })).py;
|
||||
|
||||
Reference in New Issue
Block a user