nixpkgs/pkgs/development/tools/kubie/default.nix

27 lines
662 B
Nix
Raw Normal View History

2020-03-07 18:55:51 +00:00
{ stdenv, rustPlatform, fetchFromGitHub }:
with rustPlatform;
buildRustPackage rec {
pname = "kubie";
2020-04-28 16:53:19 +00:00
version = "0.8.4";
2020-03-07 18:55:51 +00:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "sbstp";
repo = "kubie";
2020-04-28 16:53:19 +00:00
sha256 = "1f82xlhhxbjadjw609kr1kdm4n69c9mqjia4b3k505wjh7cc55n0";
2020-03-07 18:55:51 +00:00
};
2020-04-28 16:53:19 +00:00
cargoSha256 = "0mish7wqwq5ynl98n6swdn5i6mg62aih5rfykbl3wx39b468n481";
2020-03-07 18:55:51 +00:00
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;
};
}