about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/virtualization/cri-tools/default.nix
blob: 1435fd2bde0ebee971efc30a15b84eba1bba638e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ buildGoPackage, fetchFromGitHub, lib }:

buildGoPackage
rec {
  pname = "cri-tools";
  version = "1.14.0";
  src = fetchFromGitHub {
    owner = "kubernetes-incubator";
    repo = pname;
    rev = "v${version}";
    sha256 = "0v5i7shbn7b6av1d2z6r5czyjdll9i7xim9975lpnz1136xb6li7";
  };

  goPackagePath = "github.com/kubernetes-incubator/cri-tools";
  subPackages = [ "cmd/crictl" "cmd/critest" ];

  meta = {
    description = "CLI and validation tools for Kubelet Container Runtime Interface (CRI)";
    homepage = https://github.com/kubernetes-sigs/cri-tools;
    license = lib.licenses.asl20;
  };
}