nixpkgs/pkgs/tools/virtualization/cri-tools/default.nix

24 lines
635 B
Nix
Raw Normal View History

2019-06-01 20:28:53 +01:00
{ buildGoPackage, fetchFromGitHub, lib }:
2018-01-09 16:18:25 +00:00
buildGoPackage
2019-06-01 20:28:53 +01:00
rec {
pname = "cri-tools";
version = "1.14.0";
src = fetchFromGitHub {
owner = "kubernetes-incubator";
repo = pname;
rev = "v${version}";
sha256 = "0v5i7shbn7b6av1d2z6r5czyjdll9i7xim9975lpnz1136xb6li7";
};
2018-01-09 16:18:25 +00:00
goPackagePath = "github.com/kubernetes-incubator/cri-tools";
subPackages = [ "cmd/crictl" "cmd/critest" ];
2018-08-15 19:25:03 +01:00
meta = {
2019-06-01 20:28:53 +01:00
description = "CLI and validation tools for Kubelet Container Runtime Interface (CRI)";
homepage = https://github.com/kubernetes-sigs/cri-tools;
2018-08-15 19:25:03 +01:00
license = lib.licenses.asl20;
};
2018-01-09 16:18:25 +00:00
}