at 22.05-pre 27 lines 734 B view raw
1{ lib, buildGoPackage, fetchFromGitHub }: 2 3buildGoPackage rec { 4 name = "docker-proxy-${rev}"; 5 rev = "fa125a3512ee0f6187721c88582bf8c4378bd4d7"; 6 7 src = fetchFromGitHub { 8 inherit rev; 9 owner = "docker"; 10 repo = "libnetwork"; 11 sha256 = "1r47y0gww3j7fas4kgiqbhrz5fazsx1c6sxnccdfhj8fzik77s9y"; 12 }; 13 14 goPackagePath = "github.com/docker/libnetwork"; 15 16 installPhase = '' 17 install -m755 -D ./go/bin/proxy $out/bin/docker-proxy 18 ''; 19 20 meta = with lib; { 21 description = "Docker proxy binary to forward traffic between host and containers"; 22 license = licenses.asl20; 23 homepage = "https://github.com/docker/libnetwork"; 24 maintainers = with maintainers; [vdemeester]; 25 platforms = platforms.linux; 26 }; 27}