Commit e69a5a04 authored by Steffen Vogel's avatar Steffen Vogel
Browse files

birdwatcher: add updateScript

parent 694efe2c
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  fetchFromGitHub,
  buildGoModule,
  nixosTests,
  gitUpdater,
}:

buildGoModule rec {
@@ -20,10 +21,14 @@ buildGoModule rec {

  deleteVendor = true;

  passthru.tests = {
  passthru = {
    tests = {
      inherit (nixosTests) birdwatcher;
    };

    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";