Skip to content

Commit 1cfd028

Browse files
authored
cyclonedx-cli: 0.25.1 -> 0.27.2 (#359842)
2 parents 3b9f3b0 + 7ce5501 commit 1cfd028

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

pkgs/by-name/cy/cyclonedx-cli/deps.nix

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkgs/by-name/cy/cyclonedx-cli/package.nix

+9-4
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,33 @@
66

77
buildDotnetModule rec {
88
pname = "cyclonedx-cli";
9-
version = "0.25.1";
9+
version = "0.27.2";
1010

1111
src = fetchFromGitHub {
1212
owner = "CycloneDX";
1313
repo = "cyclonedx-cli";
1414
rev = "refs/tags/v${version}";
15-
hash = "sha256-9G9g4bfH6EGSTZQlaiLsRjnryl+mQ3uNXdBUBVcKwlg=";
15+
hash = "sha256-QU/MaT8iIf/9VpOb2mixOfOtG/J+sE7S0mT6BKYQnlI=";
1616
};
1717

18-
dotnet-sdk = dotnetCorePackages.sdk_6_0;
18+
dotnet-sdk = dotnetCorePackages.sdk_8_0;
1919
nugetDeps = ./deps.nix;
2020

2121
preFixup = ''
2222
cd $out/bin
2323
find . ! -name 'cyclonedx' -type f -exec rm -f {} +
2424
'';
2525

26+
postPatch = ''
27+
substituteInPlace src/cyclonedx/cyclonedx.csproj tests/cyclonedx.tests/cyclonedx.tests.csproj \
28+
--replace-fail 'net6.0' 'net8.0'
29+
'';
30+
2631
meta = with lib; {
2732
description = "CycloneDX CLI tool for SBOM analysis, merging, diffs and format conversions";
2833
homepage = "https://github.com/CycloneDX/cyclonedx-cli";
2934
changelog = "https://github.com/CycloneDX/cyclonedx-cli/releases/tag/v${version}";
30-
maintainers = with maintainers; [ thillux ];
35+
maintainers = (with maintainers; [ thillux ]) ++ teams.cyberus.members;
3136
license = licenses.asl20;
3237
platforms = with platforms; (linux ++ darwin);
3338
mainProgram = "cyclonedx";

0 commit comments

Comments
 (0)