16 src = fetchFromGitHub {
20 hash = "sha256-8IHBKai4PvvTuHPDTgx9wFEBzz4MM7Mwo8Q/bzFRzfk=";
25 nativeBuildInputs = [ go-md2man installShellFiles util-linux ];
27 buildInputs = [ btrfs-progs ];
29 BUILDTAGS = lib.optionals (btrfs-progs == null) [ "no_btrfs" ];
34 make binaries "VERSION=v${version}" "REVISION=${src.rev}"
40 install -Dm555 bin/* -t $out/bin
41 installShellCompletion --bash contrib/autocomplete/ctr
42 installShellCompletion --zsh --name _ctr contrib/autocomplete/zsh_autocomplete
46 passthru.tests = { inherit (nixosTests) docker; } // kubernetes.tests;
49 changelog = "https://github.com/containerd/containerd/releases/tag/${src.rev}";
50 homepage = "https://containerd.io/";
51 description = "Daemon to control runC";
52 license = licenses.asl20;
53 maintainers = with maintainers; [ offline vdemeester ];
54 platforms = platforms.linux;