mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 23:23:36 +00:00
cyclonedx-gomod: refactor
This commit is contained in:
parent
b39b054e73
commit
bb9810731b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user