mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #114841 from 06kellyjac/dockle
dockle: 0.3.10 -> 0.3.11
This commit is contained in:
commit
50262492cd
1 changed files with 5 additions and 8 deletions
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "dockle";
|
||||
version = "0.3.10";
|
||||
version = "0.3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "goodwithtech";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-oS3ZGQkDSRdVLluLNg56VGp6MCrRDlgjk1va1+xocas=";
|
||||
sha256 = "sha256-TAV+bdHURclrwM0ByfbM2S4GdAnHrwclStyUlGraOpw=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-npbUE3ch8TamW0aikdKuFElE4YDRKwNVUscuvmlQxl4=";
|
||||
|
@ -16,12 +16,9 @@ buildGoModule rec {
|
|||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ btrfs-progs lvm2 ];
|
||||
|
||||
buildFlagsArray = [
|
||||
"-ldflags="
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.version=${version}"
|
||||
];
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-s -w -X main.version=${version}")
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
# Remove tests that use networking
|
||||
|
|
Loading…
Reference in a new issue