2025-01-31 11:23:23 +01:00

41 lines
846 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
}:
buildPythonPackage rec {
pname = "lib4package";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "anthonyharrison";
repo = "lib4package";
tag = "v${version}";
hash = "sha256-ZU5Lne2/xBgaFrTumWpZsuL9ckqdACrb0iRraWo+Rk0=";
};
build-system = [
setuptools
];
dependencies = [
requests
];
pythonImportsCheck = [
"lib4package"
];
meta = {
changelog = "https://github.com/anthonyharrison/lib4package/releases/tag/v${version}";
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 ];
};
}