13 rustPlatform.buildRustPackage rec {
14 pname = "cargo-cyclonedx";
17 src = fetchFromGitHub {
19 repo = "cyclonedx-rust-cargo";
20 rev = "${pname}-${version}";
21 hash = "sha256-791FZR9dmwVjORrkpm8el+2VMEEKJG+yKKqq+R1I9U4=";
24 cargoHash = "sha256-Cbi1cnUy6HKkgBXVjK0xItx2pzuYVob/Qz4o8eT6Fws=";
32 ] ++ lib.optionals stdenv.isDarwin [
40 description = "Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects";
41 mainProgram = "cargo-cyclonedx";
43 The CycloneDX module for Rust (Cargo) creates a valid CycloneDX Software
44 Bill-of-Material (SBOM) containing an aggregate of all project
45 dependencies. CycloneDX is a lightweight SBOM specification that is
46 easily created, human and machine readable, and simple to parse.
48 homepage = "https://github.com/CycloneDX/cyclonedx-rust-cargo";
49 license = licenses.asl20;
50 maintainers = with maintainers; [ nikstur ];