containerd_1_4: drop
This commit is contained in:
parent
b73b403865
commit
03ce62932c
2 changed files with 0 additions and 52 deletions
|
@ -1,51 +0,0 @@
|
||||||
{ lib
|
|
||||||
, fetchFromGitHub
|
|
||||||
, buildGoPackage
|
|
||||||
, btrfs-progs
|
|
||||||
, go-md2man
|
|
||||||
, installShellFiles
|
|
||||||
, util-linux
|
|
||||||
, nixosTests
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildGoPackage rec {
|
|
||||||
pname = "containerd";
|
|
||||||
version = "1.4.11";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "containerd";
|
|
||||||
repo = "containerd";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "sha256-mUagr1/LqTCFvshWuiSMxsqdRqjzogt2tZ0uwR7ZVAs=";
|
|
||||||
};
|
|
||||||
|
|
||||||
goPackagePath = "github.com/containerd/containerd";
|
|
||||||
outputs = [ "out" "man" ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ go-md2man installShellFiles util-linux ];
|
|
||||||
|
|
||||||
buildInputs = [ btrfs-progs ];
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
cd go/src/${goPackagePath}
|
|
||||||
patchShebangs .
|
|
||||||
make binaries man "VERSION=v${version}" "REVISION=${src.rev}"
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
install -Dm555 bin/* -t $out/bin
|
|
||||||
installManPage man/*.[1-9]
|
|
||||||
installShellCompletion --bash contrib/autocomplete/ctr
|
|
||||||
installShellCompletion --zsh --name _ctr contrib/autocomplete/zsh_autocomplete
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) docker; };
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://containerd.io/";
|
|
||||||
description = "A daemon to control runC";
|
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = with maintainers; [ ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -25139,7 +25139,6 @@ with pkgs;
|
||||||
comical = callPackage ../applications/graphics/comical { };
|
comical = callPackage ../applications/graphics/comical { };
|
||||||
|
|
||||||
containerd = callPackage ../applications/virtualization/containerd { };
|
containerd = callPackage ../applications/virtualization/containerd { };
|
||||||
containerd_1_4 = callPackage ../applications/virtualization/containerd/1.4.nix { };
|
|
||||||
|
|
||||||
convchain = callPackage ../tools/graphics/convchain {};
|
convchain = callPackage ../tools/graphics/convchain {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue