nixpkgs/pkgs/servers/birdwatcher/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

30 lines
787 B
Nix

{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "birdwatcher";
version = "2.2.5";
vendorHash = "sha256-NTD2pnA/GeTn4tXtIFJ227qjRtvBFCjWYZv59Rumc74=";
src = fetchFromGitHub {
owner = "alice-lg";
repo = "birdwatcher";
rev = version;
hash = "sha256-TTU5TYWD/KSh/orDdQnNrQJ/G7z5suBu7psF9V6AAIw=";
};
deleteVendor = true;
meta = with lib; {
homepage = "https://github.com/alice-lg/birdwatcher";
description = "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 ];
mainProgram = "birdwatcher";
};
}