2021-08-03 02:58:18 +02:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gvproxy";
|
2023-03-14 22:16:33 +01:00
|
|
|
version = "0.6.1";
|
2021-08-03 02:58:18 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "containers";
|
|
|
|
repo = "gvisor-tap-vsock";
|
|
|
|
rev = "v${version}";
|
2023-03-14 22:16:33 +01:00
|
|
|
hash = "sha256-LkSKJVnWwqWSId/qdb7hTIiryxdazjW4oluZZN47orQ=";
|
2021-08-03 02:58:18 +02:00
|
|
|
};
|
|
|
|
|
2023-03-10 11:34:37 +01:00
|
|
|
vendorHash = null;
|
2021-08-03 02:58:18 +02:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
runHook preBuild
|
|
|
|
make build
|
|
|
|
runHook postBuild
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
install bin/* -Dt $out/bin
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-03-10 11:34:37 +01:00
|
|
|
changelog = "https://github.com/containers/gvisor-tap-vsock/releases/tag/${src.rev}";
|
2021-08-03 02:58:18 +02:00
|
|
|
description = "Network stack based on gVisor";
|
|
|
|
homepage = "https://github.com/containers/gvisor-tap-vsock";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ ] ++ teams.podman.members;
|
|
|
|
};
|
|
|
|
}
|