2023-03-30 12:17:08 +02:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "birdwatcher";
|
2024-02-12 18:14:19 +01:00
|
|
|
version = "2.2.5";
|
2023-03-30 12:17:08 +02:00
|
|
|
|
2023-09-13 06:44:46 +02:00
|
|
|
vendorHash = "sha256-NTD2pnA/GeTn4tXtIFJ227qjRtvBFCjWYZv59Rumc74=";
|
2023-03-30 12:17:08 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alice-lg";
|
|
|
|
repo = "birdwatcher";
|
|
|
|
rev = version;
|
2024-02-12 18:14:19 +01:00
|
|
|
hash = "sha256-TTU5TYWD/KSh/orDdQnNrQJ/G7z5suBu7psF9V6AAIw=";
|
2023-03-30 12:17:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2023-11-23 22:09:35 +01:00
|
|
|
mainProgram = "birdwatcher";
|
2023-03-30 12:17:08 +02:00
|
|
|
};
|
|
|
|
}
|