git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #113991 from 06kellyjac/dockle

dockle: 0.3.1 -> 0.3.10

commit8d06b5300772a654c8f4bf78a29a515057aa4ce8 authorSandro <sandro.jaeckel@gmail.com> dateMon 22 Feb 2021, 18:21 (6 years ago) parent92d76d560a3e49
1 file changed+12−4
pkgs/development/tools/dockle/default.nix+12−4
pkgs/development/tools/dockle/default.nix+12−4
@@ -2,16 +2,16 @@
22
33buildGoModule rec {
44 pname = "dockle";
5− version = "0.3.1";
5+ version = "0.3.10";
66
77 src = fetchFromGitHub {
88 owner = "goodwithtech";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "sha256-Zc2ZlyeWdRvyuJLDDTONfh0/q+HKR4lNtSFMjgJWrRY=";
11+ sha256 = "sha256-oS3ZGQkDSRdVLluLNg56VGp6MCrRDlgjk1va1+xocas=";
1212 };
1313
14− vendorSha256 = "sha256-4IJKXcnMXBqoEjsV4Xg2QYvKwxDDUjcZtrj9IRuT6i4=";
14+ vendorSha256 = "sha256-npbUE3ch8TamW0aikdKuFElE4YDRKwNVUscuvmlQxl4=";
1515
1616 nativeBuildInputs = [ pkg-config ];
1717 buildInputs = [ btrfs-progs lvm2 ];
@@ -25,7 +25,15 @@ buildGoModule rec {
2525
2626 preCheck = ''
2727 # Remove tests that use networking
28− rm pkg/scanner/scan_test.go pkg/utils/fetch_test.go
28+ rm pkg/scanner/scan_test.go
29+ '';
30+
31+ doInstallCheck = true;
32+ installCheckPhase = ''
33+ runHook preInstallCheck
34+ $out/bin/dockle --help
35+ $out/bin/dockle --version | grep "dockle version ${version}"
36+ runHook postInstallCheck
2937 '';
3038
3139 meta = with lib; {