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-08-20 19:08:49 +02:00
|
|
|
version = "1.2";
|
2020-04-26 20:34:29 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bgp";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-08-20 19:08:49 +02:00
|
|
|
sha256 = "sha256-8r70tetbTq8GxxtFe71gDYy+wg8yBwYpl1gsu5aAHTA=";
|
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;
|
|
|
|
};
|
|
|
|
}
|