home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

default.nix (786B)


      1 { stdenv, fetchFromGitHub, rustPlatform }:
      2 
      3 rustPlatform.buildRustPackage rec {
      4   pname = "kubernix";
      5   version = "unstable-2020-05-07";
      6   preferLocalBuild = true;
      7 
      8   src = fetchFromGitHub {
      9     owner = "saschagrunert";
     10     repo = pname;
     11     rev = "01ea39f468dd8abf6816a87fcac886a25ec05b0d";
     12     sha256 = "1zqqdcxidn10a4p1b64r1w79nwlifk1si0lf9jfkb7099rfrhalf";
     13   };
     14 
     15   cargoSha256 = "0xaf056x46c5561hypd85ni7bkijvz26kpwy5iiw19ijnlj1adw9";
     16   doCheck = false;
     17 
     18   meta = with stdenv.lib; {
     19     description = "Single dependency Kubernetes clusters for local testing, experimenting and development";
     20     homepage = https://github.com/saschagrunert/kubernix;
     21     license = with licenses; [ mit ];
     22     maintainers = with maintainers; [ saschagrunert ];
     23     platforms = platforms.linux;
     24   };
     25 }