1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "lib4package";
11 version = "0.3.3";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "anthonyharrison";
16 repo = "lib4package";
17 tag = "v${version}";
18 hash = "sha256-x+JxBH4vfbXaq/e9PlKfkKvJVz2E3kotmsBhR8alhck=";
19 };
20
21 build-system = [
22 setuptools
23 ];
24
25 dependencies = [
26 requests
27 ];
28
29 pythonImportsCheck = [
30 "lib4package"
31 ];
32
33 meta = {
34 changelog = "https://github.com/anthonyharrison/lib4package/releases/tag/${src.tag}";
35 description = "Utility for handling package metadata to include in Software Bill of Materials (SBOMs)";
36 homepage = "https://github.com/anthonyharrison/lib4package";
37 license = lib.licenses.asl20;
38 maintainers = with lib.maintainers; [ ];
39 };
40}