forked from mirrors/nixpkgs
popeye: 0.9.0 -> 0.9.2
Update, refactor and enable tests Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
This commit is contained in:
parent
afc1b5220e
commit
e956f890f2
|
@ -2,26 +2,25 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "popeye";
|
pname = "popeye";
|
||||||
version = "0.9.0";
|
version = "0.9.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "derailed";
|
owner = "derailed";
|
||||||
repo = "popeye";
|
repo = "popeye";
|
||||||
sha256 = "1rslmcdjs53zvv0xaf00vxqsfc3jh2p584j3q6nfgrghc978xmpf";
|
sha256 = "sha256-GSH9q0hnyuGiJAdbFWKbaaYoHKl4e0SNmBkOvpn5a6s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildFlagsArray = ''
|
buildFlagsArray = ''
|
||||||
-ldflags=
|
-ldflags=
|
||||||
-s -w
|
-s -w
|
||||||
-X github.com/derailed/popeye/cmd.version=${version}
|
-X github.com/derailed/popeye/cmd.version=${version}
|
||||||
-X github.com/derailed/popeye/cmd.commit=022c3104b642aab6bdb287468fb79068a33e1b0d
|
-X github.com/derailed/popeye/cmd.commit=${version}
|
||||||
-X github.com/derailed/popeye/cmd.date=2020-10-31T16:44:45Z
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vendorSha256 = "08195dnka7rs38py3kjii9zh9nifg2fnbi1wzjl0pc38i2bbrz0k";
|
vendorSha256 = "sha256-pK04vGL9Izv1aK8UA+/3lSt/SjLyckjnfSCrOalRj3c=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Kubernetes cluster resource sanitizer";
|
description = "A Kubernetes cluster resource sanitizer";
|
||||||
|
|
Loading…
Reference in a new issue