12 src = fetchFromGitHub {
13 owner = "kubernetes-sigs";
16 hash = "sha256-ruhWuBpPjc0dX7kgiTBFFHriSGYx4XoMNv+M39aIh10=";
23 nativeBuildInputs = [ installShellFiles ];
27 make binaries VERSION=${version}
33 make install BINDIR=$out/bin
34 '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
35 for shell in bash fish zsh; do
36 installShellCompletion --cmd crictl \
37 --$shell <($out/bin/crictl completion $shell)
44 description = "CLI and validation tools for Kubelet Container Runtime Interface (CRI)";
45 homepage = "https://github.com/kubernetes-sigs/cri-tools";
46 license = licenses.asl20;
47 maintainers = with maintainers; [ ] ++ teams.podman.members;