evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / cy / cyclonedx-python / package.nix
blobfe37119359519ecd35887e25b11cd80dad7ca9f7
2   lib,
3   fetchFromGitHub,
4   python3Packages,
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "cyclonedx-python";
9   version = "4.6.0";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "CycloneDX";
14     repo = "cyclonedx-python";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-EcCxw3SppuGUgN7AIU9NhpRw7dLDhTHHT5emGOgkDFU=";
17   };
19   build-system = with python3Packages; [ poetry-core ];
21   dependencies = with python3Packages; [
22     chardet
23     cyclonedx-python-lib
24     packageurl-python
25     pip-requirements-parser
26     packaging
27     tomli
28   ] ++ cyclonedx-python-lib.optional-dependencies.validation;
30   pythonImportsCheck = [ "cyclonedx" ];
32   meta = {
33     description = "Creates CycloneDX Software Bill of Materials (SBOM) from Python projects";
34     homepage = "https://github.com/CycloneDX/cyclonedx-python";
35     changelog = "https://github.com/CycloneDX/cyclonedx-python/releases/tag/v${version}";
36     license = lib.licenses.asl20;
37     maintainers = lib.teams.cyberus.members;
38     mainProgram = "cyclonedx-py";
39   };