1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-16 17:13:21 +00:00

gvproxy: init at 0.1.0

This commit is contained in:
zowoq 2021-08-03 10:58:18 +10:00
parent 99a3addb2b
commit 928cee3856
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "gvproxy";
version = "0.1.0";
src = fetchFromGitHub {
owner = "containers";
repo = "gvisor-tap-vsock";
rev = "v${version}";
sha256 = "sha256-cXaX7A8Wgq/PEHnFrparZjOKdENX3pWWXYfrEuFLDx0=";
};
vendorSha256 = null;
buildPhase = ''
runHook preBuild
make build
runHook postBuild
'';
installPhase = ''
runHook preInstall
install bin/* -Dt $out/bin
runHook postInstall
'';
meta = with lib; {
description = "Network stack based on gVisor";
homepage = "https://github.com/containers/gvisor-tap-vsock";
license = licenses.asl20;
maintainers = with maintainers; [ ] ++ teams.podman.members;
};
}

View file

@ -5749,6 +5749,8 @@ with pkgs;
gvolicon = callPackage ../tools/audio/gvolicon {};
gvproxy = callPackage ../tools/networking/gvproxy { };
gzip = callPackage ../tools/compression/gzip { };
gzrt = callPackage ../tools/compression/gzrt { };