cyclonedx-gomod: refactor

This commit is contained in:
Fabian Affolter 2024-04-07 10:57:33 +02:00
parent b39b054e73
commit bb9810731b
1 changed files with 7 additions and 2 deletions

View File

@ -9,13 +9,18 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "CycloneDX";
repo = pname;
rev = "v${version}";
repo = "cyclonedx-gomod";
rev = "refs/tags/v${version}";
hash = "sha256-RM8ZH1mO+72ptoU7YKXlCZAyDhYZ7MFXyDYrqBQwsDI=";
};
vendorHash = "sha256-1ibMneSOYs5C6Ul8m/rVXVFBJHZrH1D5eWRwVVJ6a+A=";
ldflags = [
"-w"
"-s"
];
# Tests require network access and cyclonedx executable
doCheck = false;