From 502d26f90b34347a81193eb0e8f06d14b3590102 Mon Sep 17 00:00:00 2001 From: Akshat Agarwal Date: Thu, 12 Aug 2021 17:48:26 +0530 Subject: [PATCH] cilium-cli: init at 0.8.6 Co-authored-by: figsoda --- .../networking/cluster/cilium/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/applications/networking/cluster/cilium/default.nix diff --git a/pkgs/applications/networking/cluster/cilium/default.nix b/pkgs/applications/networking/cluster/cilium/default.nix new file mode 100644 index 000000000000..1ee8f31ed890 --- /dev/null +++ b/pkgs/applications/networking/cluster/cilium/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "cilium-cli"; + version = "0.8.6"; + + src = fetchFromGitHub { + owner = "cilium"; + repo = pname; + rev = "v${version}"; + sha256 = "07p62zifycw7gnwkd3230jsjns80k2q9fbj8drzp84s9cp7ddpa9"; + }; + + vendorSha256 = null; + + meta = with lib; { + description = "CLI to install, manage & troubleshoot Kubernetes clusters running Cilium"; + license = licenses.asl20; + homepage = "https://www.cilium.io/"; + maintainers = with maintainers; [ humancalico ]; + mainProgram = "cilium"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 85a4be3fbeb8..cc2296c0d30a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3692,6 +3692,8 @@ with pkgs; cicero-tui = callPackage ../tools/misc/cicero-tui { }; + cilium-cli = callPackage ../applications/networking/cluster/cilium { }; + cipherscan = callPackage ../tools/security/cipherscan { openssl = if stdenv.hostPlatform.system == "x86_64-linux" then openssl-chacha