mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 07:31:19 +00:00
python3Packages.licomp: init at 0.5.22
Assisted-By: nix-init
This commit is contained in:
57
pkgs/development/python-modules/licomp/default.nix
Normal file
57
pkgs/development/python-modules/licomp/default.nix
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitea,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
pyyaml,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
jsonschema,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "licomp";
|
||||
version = "0.5.22";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "software-compliance-org";
|
||||
repo = "licomp";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-yZZfWinXdMmF/FQQ3+MwHRypK5Xz2EEMruJLCAtl/6Q=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
pyyaml
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
jsonschema
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"licomp"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "License Compatibility - Generalised API for use in license compatibility";
|
||||
homepage = "https://codeberg.org/software-compliance-org/licomp";
|
||||
license = with lib.licenses; [
|
||||
gpl3Plus
|
||||
];
|
||||
maintainers = with lib.maintainers; [ eljamm ];
|
||||
teams = with lib.teams; [ ngi ];
|
||||
};
|
||||
})
|
||||
@@ -9059,6 +9059,8 @@ self: super: with self; {
|
||||
|
||||
license-expression = callPackage ../development/python-modules/license-expression { };
|
||||
|
||||
licomp = callPackage ../development/python-modules/licomp { };
|
||||
|
||||
lida = callPackage ../development/python-modules/lida { };
|
||||
|
||||
lief = (toPythonModule (pkgs.lief.override { python3 = python; })).py;
|
||||
|
||||
Reference in New Issue
Block a user