{ lib, stdenv, fetchFromGitHub, autoreconfHook }: stdenv.mkDerivation rec { pname = "bgpq4"; version = "1.7"; src = fetchFromGitHub { owner = "bgp"; repo = pname; rev = version; sha256 = "sha256-0gqd/bEj8ZDpf/3J2iZnGswTO6k8aJOuRiZXMZLm7zo="; }; 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; }; }