aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/networking/cluster/kubernix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/cluster/kubernix/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/networking/cluster/kubernix/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/cluster/kubernix/default.nix b/nixpkgs/pkgs/applications/networking/cluster/kubernix/default.nix
new file mode 100644
index 00000000000..2251b12e499
--- /dev/null
+++ b/nixpkgs/pkgs/applications/networking/cluster/kubernix/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "kubernix";
+ version = "0.2.0";
+
+ src = fetchFromGitHub {
+ owner = "saschagrunert";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "04dzfdzjwcwwaw9min322g30q0saxpq5kqzld4f22fmk820ki6gp";
+ };
+
+ cargoSha256 = "17agwqx7nhzi124yq1s6zpqb227drrhp9c11r3jbicc08dz88bwg";
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ description = "Single dependency Kubernetes clusters for local testing, experimenting and development";
+ homepage = "https://github.com/saschagrunert/kubernix";
+ license = with licenses; [ mit ];
+ maintainers = with maintainers; [ saschagrunert ];
+ platforms = platforms.linux;
+ };
+}