2019-06-01 19:28:53 +00:00
|
|
|
{ buildGoPackage, fetchFromGitHub, lib }:
|
2018-01-09 16:18:25 +00:00
|
|
|
|
2019-08-14 07:13:54 +00:00
|
|
|
buildGoPackage rec {
|
2019-06-01 19:28:53 +00:00
|
|
|
pname = "cri-tools";
|
2020-04-01 08:01:18 +00:00
|
|
|
version = "1.18.0";
|
2019-06-01 19:30:03 +00:00
|
|
|
src = fetchFromGitHub {
|
2019-08-14 07:13:54 +00:00
|
|
|
owner = "kubernetes-sigs";
|
2019-06-01 19:30:03 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-04-01 08:01:18 +00:00
|
|
|
sha256 = "06sxjhjpd893fn945c1s4adri2bf7s50ddvcw5pnwb6qndzfljw6";
|
2019-06-01 19:30:03 +00:00
|
|
|
};
|
2018-01-09 16:18:25 +00:00
|
|
|
|
2019-08-14 07:13:54 +00:00
|
|
|
goPackagePath = "github.com/kubernetes-sigs/cri-tools";
|
2018-01-09 16:18:25 +00:00
|
|
|
|
2019-08-14 07:13:54 +00:00
|
|
|
buildPhase = ''
|
|
|
|
pushd go/src/${goPackagePath}
|
2020-04-28 01:50:57 +00:00
|
|
|
make all install BINDIR=$out/bin
|
2019-08-14 07:13:54 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2019-06-01 19:30:03 +00:00
|
|
|
description = "CLI and validation tools for Kubelet Container Runtime Interface (CRI)";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/kubernetes-sigs/cri-tools";
|
2019-06-01 19:30:03 +00:00
|
|
|
license = lib.licenses.asl20;
|
2020-04-23 22:07:39 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.podman.members;
|
2019-06-01 19:30:03 +00:00
|
|
|
};
|
|
|
|
}
|