1 { stdenv, buildGoModule, fetchFromGitHub, lib
2 , enableStatic ? stdenv.hostPlatform.isStatic
9 src = fetchFromGitHub {
13 sha256 = "0bxf89l53sqan9qq23rwawjkcanv9p61sw56zjqhyx78f0bh0zbc";
21 make -e build${lib.optionalString enableStatic "-static"}
28 cp bin/gobetween $out/bin
29 cp -r share $out/share
30 cp -r config $out/share
34 description = "Modern & minimalistic load balancer for the Сloud era";
35 homepage = "https://gobetween.io";
36 license = licenses.mit;
37 maintainers = with maintainers; [ tomberek ];
38 broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.goModules --check