20 src = fetchFromGitHub {
24 sha256 = "sha256-g9J66CZOAoco7UmK+xPEE6T5Aes3LWEG3J40LuDcvYo=";
30 outputs = [ "out" "man" ];
31 nativeBuildInputs = [ installShellFiles pkg-config ];
40 ] ++ lib.optionals (glibc != null) [ glibc glibc.static ];
42 BUILDTAGS = "apparmor seccomp selinux containers_image_openpgp containers_image_ostree_stub";
45 make binaries docs BUILDTAGS="$BUILDTAGS"
51 install -Dm755 bin/* -t $out/bin
53 for shell in bash fish zsh; do
54 installShellCompletion --$shell completions/$shell/*
57 install contrib/cni/*.conflist -Dt $out/etc/cni/net.d
58 install crictl.yaml -Dt $out/etc
60 installManPage docs/*.[1-9]
64 passthru.tests = { inherit (nixosTests) cri-o; };
67 homepage = "https://cri-o.io";
69 Open Container Initiative-based implementation of the
70 Kubernetes Container Runtime Interface
72 license = licenses.asl20;
73 maintainers = with maintainers; [ ] ++ teams.podman.members;
74 platforms = platforms.linux;