gvisor-containerd-shim: init at 2019-10-09
This commit is contained in:
parent
3147b0a09e
commit
1f0512faf6
2 changed files with 38 additions and 0 deletions
36
pkgs/applications/virtualization/gvisor/containerd-shim.nix
Normal file
36
pkgs/applications/virtualization/gvisor/containerd-shim.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib, fetchFromGitHub, buildGoModule, go-bindata }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
name = "gvisor-containerd-shim-${version}";
|
||||||
|
version = "2019-10-09";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "google";
|
||||||
|
repo = "gvisor-containerd-shim";
|
||||||
|
rev = "f299b553afdd8455a0057862004061ea12e660f5";
|
||||||
|
sha256 = "077bhrmjrpcxv1z020yxhx2c4asn66j21gxlpa6hz0av3lfck9lm";
|
||||||
|
};
|
||||||
|
|
||||||
|
modSha256 = "1jdhgbrn59ahnabwnig99i21f6kimmqx9f3dg10ffwfs3dx0gzlg";
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
make
|
||||||
|
'';
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkPhase = ''
|
||||||
|
make test
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
make install DESTDIR="$out"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "containerd shim for gVisor";
|
||||||
|
homepage = https://github.com/google/gvisor-containerd-shim;
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ andrew-d ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -19223,6 +19223,8 @@ in
|
||||||
|
|
||||||
gvisor = callPackage ../applications/virtualization/gvisor { };
|
gvisor = callPackage ../applications/virtualization/gvisor { };
|
||||||
|
|
||||||
|
gvisor-containerd-shim = callPackage ../applications/virtualization/gvisor/containerd-shim.nix { };
|
||||||
|
|
||||||
guvcview = callPackage ../os-specific/linux/guvcview { };
|
guvcview = callPackage ../os-specific/linux/guvcview { };
|
||||||
|
|
||||||
gxmessage = callPackage ../applications/misc/gxmessage { };
|
gxmessage = callPackage ../applications/misc/gxmessage { };
|
||||||
|
|
Loading…
Reference in a new issue