Add cri-tools

+65
+15
pkgs/tools/virtualization/cri-tools/default.nix
··· 1 + { buildGoPackage, fetchurl }: 2 + 3 + buildGoPackage 4 + { name = "cri-tools-1.0.0-alpha.0"; 5 + src = fetchurl 6 + { url = "https://github.com/kubernetes-incubator/cri-tools/archive/v1.0.0-alpha.0.tar.gz"; 7 + sha256 = "1la26f38xafb7g9hrppjq7gmajiyr8idcwbian7n412q9m0lb3ic"; 8 + }; 9 + 10 + goPackagePath = "github.com/kubernetes-incubator/cri-tools"; 11 + subPackages = [ "cmd/crictl" "cmd/critest" ]; 12 + 13 + goDeps = ./deps.nix; 14 + } 15 +
+48
pkgs/tools/virtualization/cri-tools/deps.nix
··· 1 + # This file was generated by https://github.com/kamilchm/go2nix v1.2.1 2 + [ 3 + { 4 + goPackagePath = "github.com/docker/docker"; 5 + fetch = { 6 + type = "git"; 7 + url = "https://github.com/docker/docker"; 8 + rev = "94b8a116fbf1cd90e68d8f5361b520d326a66f9b"; 9 + sha256 = "0winmx2dx9chrv9ab4cl1i00z2vag2swy2lfwiy8jx73qhaf9g4d"; 10 + }; 11 + } 12 + { 13 + goPackagePath = "k8s.io/api"; 14 + fetch = { 15 + type = "git"; 16 + url = "https://github.com/kubernetes/api"; 17 + rev = "57d7f151236665c12202a51c21bc939eb5d5ba91"; 18 + sha256 = "0sdpymjw6wqs1fc2q3h0v60slbd0p5qqr23ssff72wprn8520q37"; 19 + }; 20 + } 21 + { 22 + goPackagePath = "k8s.io/apimachinery"; 23 + fetch = { 24 + type = "git"; 25 + url = "https://github.com/kubernetes/apimachinery"; 26 + rev = "91d8586aac31d9086939d077ba556d2c7fb157b4"; 27 + sha256 = "1672igw8c0hp8qkwns69n5k8qgr1rzjaah9gjh37am34v172vgl7"; 28 + }; 29 + } 30 + { 31 + goPackagePath = "k8s.io/client-go"; 32 + fetch = { 33 + type = "git"; 34 + url = "https://github.com/kubernetes/client-go"; 35 + rev = "109fef42a850b1af9d332a4ba433f65436be66c7"; 36 + sha256 = "1yspxap56fgk0vh2n8jxl3j870yig7swpv8w4w7l92jawrfxv1zf"; 37 + }; 38 + } 39 + { 40 + goPackagePath = "k8s.io/kubernetes"; 41 + fetch = { 42 + type = "git"; 43 + url = "https://github.com/kubernetes/kubernetes"; 44 + rev = "ea2fbd4de4b38aae93ec397cb5ea4d9eb6aefef8"; 45 + sha256 = "1108d2h7px0b4gqc9xrwb0w5dhs5kxxbbvbcr938ipgln250qrpz"; 46 + }; 47 + } 48 + ]
+2
pkgs/top-level/all-packages.nix
··· 973 973 974 974 coursier = callPackage ../development/tools/coursier {}; 975 975 976 + cri-tools = callPackage ../tools/virtualization/cri-tools {}; 977 + 976 978 crunch = callPackage ../tools/security/crunch { }; 977 979 978 980 crudini = callPackage ../tools/misc/crudini { };