Merge pull request #114841 from 06kellyjac/dockle

dockle: 0.3.10 -> 0.3.11
This commit is contained in:
Fabian Affolter 2021-03-02 14:45:37 +01:00 committed by GitHub
commit 50262492cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "dockle"; pname = "dockle";
version = "0.3.10"; version = "0.3.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "goodwithtech"; owner = "goodwithtech";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-oS3ZGQkDSRdVLluLNg56VGp6MCrRDlgjk1va1+xocas="; sha256 = "sha256-TAV+bdHURclrwM0ByfbM2S4GdAnHrwclStyUlGraOpw=";
}; };
vendorSha256 = "sha256-npbUE3ch8TamW0aikdKuFElE4YDRKwNVUscuvmlQxl4="; vendorSha256 = "sha256-npbUE3ch8TamW0aikdKuFElE4YDRKwNVUscuvmlQxl4=";
@ -16,12 +16,9 @@ buildGoModule rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ btrfs-progs lvm2 ]; buildInputs = [ btrfs-progs lvm2 ];
buildFlagsArray = [ preBuild = ''
"-ldflags=" buildFlagsArray+=("-ldflags" "-s -w -X main.version=${version}")
"-s" '';
"-w"
"-X main.version=${version}"
];
preCheck = '' preCheck = ''
# Remove tests that use networking # Remove tests that use networking