Merge pull request #113991 from 06kellyjac/dockle
dockle: 0.3.1 -> 0.3.10
This commit is contained in:
commit
8d06b53007
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "dockle";
|
pname = "dockle";
|
||||||
version = "0.3.1";
|
version = "0.3.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "goodwithtech";
|
owner = "goodwithtech";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-Zc2ZlyeWdRvyuJLDDTONfh0/q+HKR4lNtSFMjgJWrRY=";
|
sha256 = "sha256-oS3ZGQkDSRdVLluLNg56VGp6MCrRDlgjk1va1+xocas=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-4IJKXcnMXBqoEjsV4Xg2QYvKwxDDUjcZtrj9IRuT6i4=";
|
vendorSha256 = "sha256-npbUE3ch8TamW0aikdKuFElE4YDRKwNVUscuvmlQxl4=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ btrfs-progs lvm2 ];
|
buildInputs = [ btrfs-progs lvm2 ];
|
||||||
@ -25,7 +25,15 @@ buildGoModule rec {
|
|||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
# Remove tests that use networking
|
# Remove tests that use networking
|
||||||
rm pkg/scanner/scan_test.go pkg/utils/fetch_test.go
|
rm pkg/scanner/scan_test.go
|
||||||
|
'';
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
runHook preInstallCheck
|
||||||
|
$out/bin/dockle --help
|
||||||
|
$out/bin/dockle --version | grep "dockle version ${version}"
|
||||||
|
runHook postInstallCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user