diff --git a/pkgs/development/tools/kubie/default.nix b/pkgs/development/tools/kubie/default.nix new file mode 100644 index 00000000000..cadaf8238b3 --- /dev/null +++ b/pkgs/development/tools/kubie/default.nix @@ -0,0 +1,26 @@ +{ stdenv, rustPlatform, fetchFromGitHub }: + +with rustPlatform; + +buildRustPackage rec { + pname = "kubie"; + version = "0.7.1"; + + src = fetchFromGitHub { + rev = "v${version}"; + owner = "sbstp"; + repo = "kubie"; + sha256 = "0c94ggrkzyy8zl2z5r4pgfscyhcjp4x64k3bl2byqp3ysgjwkjqx"; + }; + + cargoSha256 = "1lzyda838s9fmg8hibg2w2wszwyvvqsy20w9877skfcx370rvndi"; + + meta = with stdenv.lib; { + description = + "Shell independent context and namespace switcher for kubectl"; + homepage = "https://github.com/sbstp/kubie"; + license = with licenses; [ zlib ]; + maintainers = with maintainers; [ illiusdope ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a00adec661d..245e1279319 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10355,6 +10355,8 @@ in kubicorn = callPackage ../development/tools/kubicorn { }; + kubie = callPackage ../development/tools/kubie { }; + kustomize = callPackage ../development/tools/kustomize { }; ktlint = callPackage ../development/tools/ktlint { };