From 55bd75e98fdb899eb9a9e5929efb2c9097c20d7b Mon Sep 17 00:00:00 2001 From: Janik H Date: Thu, 30 Mar 2023 12:17:08 +0200 Subject: [PATCH] birdwatcher: init at 2.2.4 --- pkgs/servers/birdwatcher/default.nix | 28 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/servers/birdwatcher/default.nix diff --git a/pkgs/servers/birdwatcher/default.nix b/pkgs/servers/birdwatcher/default.nix new file mode 100644 index 000000000000..32f451c07562 --- /dev/null +++ b/pkgs/servers/birdwatcher/default.nix @@ -0,0 +1,28 @@ +{ lib +, fetchFromGitHub +, buildGoModule +}: + +buildGoModule rec { + pname = "birdwatcher"; + version = "2.2.4"; + + vendorSha256 = "sha256-NTD2pnA/GeTn4tXtIFJ227qjRtvBFCjWYZv59Rumc74="; + + src = fetchFromGitHub { + owner = "alice-lg"; + repo = "birdwatcher"; + rev = version; + hash = "sha256-nsmwq7aUcozpp3av38S9wTKv0kiGfmyglQgse9MWSl4="; + }; + + deleteVendor = true; + + meta = with lib; { + homepage = "https://github.com/alice-lg/birdwatcher"; + description = "A small HTTP server meant to provide an API defined by Barry O'Donovan's birds-eye to the BIRD internet routing daemon"; + changelog = "https://github.com/alice-lg/birdwatcher/blob/master/CHANGELOG"; + license = licenses.bsd3; + maintainers = with maintainers; [ janik ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4efa38117039..67dc8c71e0f6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24677,6 +24677,8 @@ with pkgs; bird-lg = callPackage ../servers/bird-lg { }; + birdwatcher = callPackage ../servers/birdwatcher { }; + bloat = callPackage ../servers/bloat { }; bosun = callPackage ../servers/monitoring/bosun { };