nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "bgpq3";
9 version = "0.1.38";
10
11 src = fetchFromGitHub {
12 owner = "snar";
13 repo = "bgpq3";
14 rev = "v${version}";
15 hash = "sha256-rqZI7yqlVHfdRTOsA5V6kzJ2TGCy8mp6yP+rzsQX9Yc=";
16 };
17
18 meta = with lib; {
19 description = "bgp filtering automation tool";
20 homepage = "https://github.com/snar/bgpq3";
21 license = licenses.bsd2;
22 maintainers = with maintainers; [ b4dm4n ];
23 platforms = with platforms; unix;
24 mainProgram = "bgpq3";
25 };
26}