2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2020-04-26 20:34:29 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bgpq4";
|
2021-12-12 00:54:38 +01:00
|
|
|
version = "1.4";
|
2020-04-26 20:34:29 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bgp";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-12-12 00:54:38 +01:00
|
|
|
sha256 = "sha256-EFxINRFrcNXGtXpNqvBIN6pE1kG3OdeDIHYOsG2celI=";
|
2020-04-26 20:34:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-26 20:34:29 +02:00
|
|
|
description = "BGP filtering automation tool";
|
|
|
|
homepage = "https://github.com/bgp/bgpq4";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ vincentbernat ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|