mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
755d153a7a
treewide: add `mainProgram`
27 lines
597 B
Nix
27 lines
597 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bgpq4";
|
|
version = "1.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bgp";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-Irv91M5g21id0QfsnpDA7n5IhP8Qe9QHMh/KizD74qw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "BGP filtering automation tool";
|
|
homepage = "https://github.com/bgp/bgpq4";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ vincentbernat ];
|
|
platforms = with platforms; unix;
|
|
mainProgram = "bgpq4";
|
|
};
|
|
}
|