Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 608 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "bgpq4"; 10 version = "1.15"; 11 12 src = fetchFromGitHub { 13 owner = "bgp"; 14 repo = "bgpq4"; 15 rev = version; 16 sha256 = "sha256-3mfFj9KoQbDe0gH7Le03N1Yds/bTEmY+OiXNaOtHkpY="; 17 }; 18 19 nativeBuildInputs = [ 20 autoreconfHook 21 ]; 22 23 meta = with lib; { 24 description = "BGP filtering automation tool"; 25 homepage = "https://github.com/bgp/bgpq4"; 26 license = licenses.bsd2; 27 maintainers = with maintainers; [ vincentbernat ]; 28 platforms = with platforms; unix; 29 mainProgram = "bgpq4"; 30 }; 31}