depot/third_party/nixpkgs/pkgs/tools/networking/bgpq3/default.nix

23 lines
535 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "bgpq3";
version = "0.1.36.1";
src = fetchFromGitHub {
owner = "snar";
repo = pname;
rev = "v${version}";
hash = "sha256-rOpggVlXKaf3KBhfZ2lVooDaQA0iRjSbsLXF02GEyBw=";
};
meta = with lib; {
description = "bgp filtering automation tool";
homepage = "https://github.com/snar/bgpq3";
license = licenses.bsd2;
maintainers = with maintainers; [ b4dm4n ];
platforms = with platforms; unix;
mainProgram = "bgpq3";
};
}