cri-tools: 1.14.0 -> 1.15.0

- Fix go build process to include critest as well.
- Fix GitHub repo location to be `kubernetes-sigs`
- Add me as maintainer

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
Sascha Grunert 2019-08-14 09:13:54 +02:00 committed by Robin Gloster
parent 45769db278
commit 6fa21345a1
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
1 changed files with 12 additions and 9 deletions

View File

@ -1,23 +1,26 @@
{ buildGoPackage, fetchFromGitHub, lib }: { buildGoPackage, fetchFromGitHub, lib }:
buildGoPackage buildGoPackage rec {
rec {
pname = "cri-tools"; pname = "cri-tools";
version = "1.14.0"; version = "1.15.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubernetes-incubator"; owner = "kubernetes-sigs";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0v5i7shbn7b6av1d2z6r5czyjdll9i7xim9975lpnz1136xb6li7"; sha256 = "03fhddncwqrdyxz43m3bak9dlrsqzibqqja3p94nic4ydk2hry62";
}; };
goPackagePath = "github.com/kubernetes-incubator/cri-tools"; goPackagePath = "github.com/kubernetes-sigs/cri-tools";
subPackages = [ "cmd/crictl" "cmd/critest" ];
meta = { buildPhase = ''
pushd go/src/${goPackagePath}
make
'';
meta = with lib; {
description = "CLI and validation tools for Kubelet Container Runtime Interface (CRI)"; description = "CLI and validation tools for Kubelet Container Runtime Interface (CRI)";
homepage = https://github.com/kubernetes-sigs/cri-tools; homepage = https://github.com/kubernetes-sigs/cri-tools;
license = lib.licenses.asl20; license = lib.licenses.asl20;
maintainers = with maintainers; [ saschagrunert ];
}; };
} }