mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-27 02:10:15 +00:00
41 lines
845 B
Nix
41 lines
845 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lib4package";
|
|
version = "0.3.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "anthonyharrison";
|
|
repo = "lib4package";
|
|
tag = "v${version}";
|
|
hash = "sha256-AxAnSxm8eEnfi63SedWIdUvad1bD4g0rqBk4W/DQGHY=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
requests
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"lib4package"
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/anthonyharrison/lib4package/releases/tag/${src.tag}";
|
|
description = "Utility for handling package metadata to include in Software Bill of Materials (SBOMs";
|
|
homepage = "https://github.com/anthonyharrison/lib4package";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ drupol ];
|
|
};
|
|
}
|