biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / networking / gvproxy / default.nix
blob742c24659db684bc0ed127a1d803ebb9b81d3e1f
1 { lib, fetchFromGitHub, buildGoModule }:
3 buildGoModule rec {
4   pname = "gvproxy";
5   version = "0.7.5";
7   src = fetchFromGitHub {
8     owner = "containers";
9     repo = "gvisor-tap-vsock";
10     rev = "v${version}";
11     hash = "sha256-A2nG3Or5EhUSjTIpV05rWVcLJpGHtAWP5/n07KjM/E8=";
12   };
14   vendorHash = null;
16   buildPhase = ''
17     runHook preBuild
18     make build
19     runHook postBuild
20   '';
22   installPhase = ''
23     runHook preInstall
24     install bin/* -Dt $out/bin
25     runHook postInstall
26   '';
28   meta = with lib; {
29     changelog = "https://github.com/containers/gvisor-tap-vsock/releases/tag/${src.rev}";
30     description = "Network stack based on gVisor";
31     homepage = "https://github.com/containers/gvisor-tap-vsock";
32     license = licenses.asl20;
33     maintainers = with maintainers; [ ] ++ teams.podman.members;
34   };