nixpkgs/pkgs/development/tools/kubie/default.nix
2020-05-01 09:20:20 +02:00

27 lines
662 B
Nix

{ stdenv, rustPlatform, fetchFromGitHub }:
with rustPlatform;
buildRustPackage rec {
pname = "kubie";
version = "0.8.4";
src = fetchFromGitHub {
rev = "v${version}";
owner = "sbstp";
repo = "kubie";
sha256 = "1f82xlhhxbjadjw609kr1kdm4n69c9mqjia4b3k505wjh7cc55n0";
};
cargoSha256 = "0mish7wqwq5ynl98n6swdn5i6mg62aih5rfykbl3wx39b468n481";
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;
};
}