2023-05-24 13:37:59 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
2024-09-19 14:19:46 +00:00
|
|
|
, nixosTests
|
2023-05-24 13:37:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "birdwatcher";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "2.2.5";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-NTD2pnA/GeTn4tXtIFJ227qjRtvBFCjWYZv59Rumc74=";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alice-lg";
|
|
|
|
repo = "birdwatcher";
|
|
|
|
rev = version;
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-TTU5TYWD/KSh/orDdQnNrQJ/G7z5suBu7psF9V6AAIw=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
deleteVendor = true;
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
passthru.tests = {
|
|
|
|
inherit (nixosTests) birdwatcher;
|
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/alice-lg/birdwatcher";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Small HTTP server meant to provide an API defined by Barry O'Donovan's birds-eye to the BIRD internet routing daemon";
|
2023-05-24 13:37:59 +00:00
|
|
|
changelog = "https://github.com/alice-lg/birdwatcher/blob/master/CHANGELOG";
|
|
|
|
license = licenses.bsd3;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "birdwatcher";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
}
|