birdwatcher: Adopting package and refactoring (#350032)

This commit is contained in:
Sandro 2024-11-06 18:39:58 +01:00 committed by GitHub
commit 4d40360df3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 11 deletions

View File

@ -1,7 +1,9 @@
{ lib
, fetchFromGitHub
, buildGoModule
, nixosTests
{
lib,
fetchFromGitHub,
buildGoModule,
nixosTests,
gitUpdater,
}:
buildGoModule rec {
@ -19,16 +21,20 @@ buildGoModule rec {
deleteVendor = true;
passthru.tests = {
passthru = {
tests = {
inherit (nixosTests) birdwatcher;
};
meta = with lib; {
updateScript = gitUpdater { };
};
meta = {
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 = [ ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ stv0g ];
mainProgram = "birdwatcher";
};
}

View File

@ -23923,8 +23923,6 @@ with pkgs;
bird-lg = callPackage ../servers/bird-lg { };
birdwatcher = callPackage ../servers/birdwatcher { };
bloat = callPackage ../servers/bloat { };
bosun = callPackage ../servers/monitoring/bosun { };