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-05 01:36:22 +00:00
version = "0.7.3";
2020-03-07 18:55:51 +00:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "sbstp";
repo = "kubie";
2020-04-05 01:36:22 +00:00
sha256 = "186h5fng16gwqhsy2nxswbrrxsx0ysqrb4pqznyygbiz5cd9bgxp";
2020-03-07 18:55:51 +00:00
};
2020-04-05 01:36:22 +00:00
cargoSha256 = "1yllpi8dp1fy39z4zmhyf1hdjpl62vwh8b8qlj0g778qsdrm9p98";
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;
};
}