Files
nixpkgs/pkgs/by-name/bg/bgpq4/package.nix
2026-03-15 20:39:10 +00:00

32 lines
631 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bgpq4";
version = "1.16";
src = fetchFromGitHub {
owner = "bgp";
repo = "bgpq4";
tag = finalAttrs.version;
sha256 = "sha256-6pUwfySR7EWr53V0kj+cHXNFYoUZphhnbTs9TVrZzVk=";
};
nativeBuildInputs = [
autoreconfHook
];
meta = {
description = "BGP filtering automation tool";
homepage = "https://github.com/bgp/bgpq4";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ vincentbernat ];
platforms = with lib.platforms; unix;
mainProgram = "bgpq4";
};
})