mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
4121483085
Diff: https://github.com/containers/gvisor-tap-vsock/compare/v0.6.0...v0.6.1 Changelog: https://github.com/containers/gvisor-tap-vsock/releases/tag/v0.6.1
36 lines
824 B
Nix
36 lines
824 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gvproxy";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "containers";
|
|
repo = "gvisor-tap-vsock";
|
|
rev = "v${version}";
|
|
hash = "sha256-LkSKJVnWwqWSId/qdb7hTIiryxdazjW4oluZZN47orQ=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
buildPhase = ''
|
|
runHook preBuild
|
|
make build
|
|
runHook postBuild
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install bin/* -Dt $out/bin
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/containers/gvisor-tap-vsock/releases/tag/${src.rev}";
|
|
description = "Network stack based on gVisor";
|
|
homepage = "https://github.com/containers/gvisor-tap-vsock";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ] ++ teams.podman.members;
|
|
};
|
|
}
|