Merge pull request #113991 from 06kellyjac/dockle

dockle: 0.3.1 -> 0.3.10

authored by Sandro and committed by GitHub 8d06b530 92d76d55

+12 -4
+12 -4
pkgs/development/tools/dockle/default.nix
··· 2 3 buildGoModule rec { 4 pname = "dockle"; 5 - version = "0.3.1"; 6 7 src = fetchFromGitHub { 8 owner = "goodwithtech"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-Zc2ZlyeWdRvyuJLDDTONfh0/q+HKR4lNtSFMjgJWrRY="; 12 }; 13 14 - vendorSha256 = "sha256-4IJKXcnMXBqoEjsV4Xg2QYvKwxDDUjcZtrj9IRuT6i4="; 15 16 nativeBuildInputs = [ pkg-config ]; 17 buildInputs = [ btrfs-progs lvm2 ]; ··· 25 26 preCheck = '' 27 # Remove tests that use networking 28 - rm pkg/scanner/scan_test.go pkg/utils/fetch_test.go 29 ''; 30 31 meta = with lib; {
··· 2 3 buildGoModule rec { 4 pname = "dockle"; 5 + version = "0.3.10"; 6 7 src = fetchFromGitHub { 8 owner = "goodwithtech"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-oS3ZGQkDSRdVLluLNg56VGp6MCrRDlgjk1va1+xocas="; 12 }; 13 14 + vendorSha256 = "sha256-npbUE3ch8TamW0aikdKuFElE4YDRKwNVUscuvmlQxl4="; 15 16 nativeBuildInputs = [ pkg-config ]; 17 buildInputs = [ btrfs-progs lvm2 ]; ··· 25 26 preCheck = '' 27 # Remove tests that use networking 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 37 ''; 38 39 meta = with lib; {