1 { lib, stdenv, rustPlatform, fetchFromGitHub, installShellFiles, Security }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-gqCCUK9xJJq+phYBXJ8gSwU0jclRP6RgifPt/py1PG0=";
14 cargoHash = "sha256-usS3XZLY4SngEdpvpx+Dxywh7HR8uPgTJabXH5iNsuE=";
16 nativeBuildInputs = [ installShellFiles ];
18 buildInputs = lib.optionals stdenv.isDarwin [ Security ];
21 installShellCompletion completion/kubie.bash
25 description = "Shell independent context and namespace switcher for kubectl";
26 homepage = "https://github.com/sbstp/kubie";
27 license = with licenses; [ zlib ];
28 maintainers = with maintainers; [ illiusdope ];