depot/third_party/nixpkgs/pkgs/servers/birdwatcher/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

34 lines
841 B
Nix

{ lib
, fetchFromGitHub
, buildGoModule
, nixosTests
}:
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;
passthru.tests = {
inherit (nixosTests) birdwatcher;
};
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 = [ ];
mainProgram = "birdwatcher";
};
}