3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/bird-lg/default.nix
Moritz b753a7498b
bird-lg: 1.2.0 -> 1.3.0 (#232158)
> - Fix BGPMAP showing wrong preferred protocol name (#75)
> - Treat empty environment variables as valid settings (#77)
> - Support setting port for WHOIS server on frontend
> - Fix lgproxy handling of very long lines from BIRD daemon
> - Make lgproxy parse allow IP list at startup

https://github.com/xddxdd/bird-lg-go/releases/tag/v1.3.0
2023-06-13 20:27:12 +02:00

49 lines
1.2 KiB
Nix

{ buildGoModule, fetchFromGitHub, lib, symlinkJoin }:
let
generic = { modRoot, vendorSha256 }:
buildGoModule rec {
pname = "bird-lg-${modRoot}";
version = "1.3.0";
src = fetchFromGitHub {
owner = "xddxdd";
repo = "bird-lg-go";
rev = "v${version}";
hash = "sha256-VQJHrC9ag697QfCEre1KvwbotfMm8f1otJ6SPg5zRYM=";
};
doDist = false;
ldflags = [
"-s"
"-w"
];
inherit modRoot vendorSha256;
meta = with lib; {
description = "Bird Looking Glass";
homepage = "https://github.com/xddxdd/bird-lg-go";
changelog = "https://github.com/xddxdd/bird-lg-go/releases/tag/v${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ tchekda ];
};
};
bird-lg-frontend = generic {
modRoot = "frontend";
vendorSha256 = "sha256-4ajQp425SFciTi2DV3ITW4iQkq6kUJFK2BabTTb87Zo=";
};
bird-lg-proxy = generic {
modRoot = "proxy";
vendorSha256 = "sha256-o8F3uNGpz1fZr15HCY2PC7xRx9NakmvYrVQKe42ElOA=";
};
in
symlinkJoin {
name = "bird-lg-${bird-lg-frontend.version}";
paths = [ bird-lg-frontend bird-lg-proxy ];
} // {
inherit (bird-lg-frontend) version meta;
}