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:
parent
99a3addb2b
commit
928cee3856
34
pkgs/tools/networking/gvproxy/default.nix
Normal file
34
pkgs/tools/networking/gvproxy/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue