summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/cluster/popeye
diff options
context:
space:
mode:
authorBryan A. S <bryanasdev000@gmail.com>2020-09-21 01:58:36 -0300
committerBryan A. S <bryanasdev000@gmail.com>2020-09-21 01:58:36 -0300
commit8465b4849bf46f63e171fc9919cdb69e62d097db (patch)
tree72d679a46cde603cf5d690d3e05be7a08b5b5329 /pkgs/applications/networking/cluster/popeye
parent595d5fdd3d1cccb0b3e9213cda2936449b2c77a2 (diff)
popeye: init at 0.8.10
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
Diffstat (limited to 'pkgs/applications/networking/cluster/popeye')
-rw-r--r--pkgs/applications/networking/cluster/popeye/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/popeye/default.nix b/pkgs/applications/networking/cluster/popeye/default.nix
new file mode 100644
index 000000000000..ff180bdc9b2f
--- /dev/null
+++ b/pkgs/applications/networking/cluster/popeye/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+ pname = "popeye";
+ version = "0.8.10";
+
+ src = fetchFromGitHub {
+ rev = "v${version}";
+ owner = "derailed";
+ repo = "popeye";
+ sha256 = "1cx39xipvvhb12nhvg7kfssnqafajni662b070ynlw8p870bj0sn";
+ };
+
+ buildFlagsArray = ''
+ -ldflags=
+ -s -w
+ -X github.com/derailed/popeye/cmd.version=${version}
+ -X github.com/derailed/popeye/cmd.commit=b7a876eafd4f7ec5683808d8d6880c41c805056a
+ -X github.com/derailed/popeye/cmd.date=2020-08-25T23:02:30Z
+ '';
+
+ vendorSha256 = "0b2bawc9wnqwgvrv614rq5y4ns9di65zqcbb199y2ijpsaw5d9a7";
+
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ description = "A Kubernetes cluster resource sanitizer";
+ homepage = "https://github.com/derailed/popeye";
+ changelog = "https://github.com/derailed/popeye/releases/tag/v${version}";
+ license = licenses.asl20;
+ maintainers = [ maintainers.bryanasdev000 ];
+ platforms = platforms.linux;
+ };
+}