about summary refs log tree commit diff
path: root/pkgs/tools/misc/ntfy-sh
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2022-12-14 11:09:52 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2022-12-14 11:09:52 +0100
commit5e117045934fa1b49f68465a52ff105b2911a391 (patch)
treead4ff3c063a6a9dcdd43f06b7079eb519c1f2134 /pkgs/tools/misc/ntfy-sh
parent1b74623693cc01fadf2b4fb5e8805b74fb884377 (diff)
nixos/ntfy-sh: fix & expose nixos test
Diffstat (limited to 'pkgs/tools/misc/ntfy-sh')
-rw-r--r--pkgs/tools/misc/ntfy-sh/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/tools/misc/ntfy-sh/default.nix b/pkgs/tools/misc/ntfy-sh/default.nix
index 76242764da7cd..6a258d5829b4b 100644
--- a/pkgs/tools/misc/ntfy-sh/default.nix
+++ b/pkgs/tools/misc/ntfy-sh/default.nix
@@ -1,4 +1,6 @@
-{ lib, pkgs, nodejs, stdenv, buildGoModule, fetchFromGitHub, debianutils, mkdocs, python3, python3Packages }:
+{ lib, pkgs, stdenv, buildGoModule, fetchFromGitHub, nixosTests
+, nodejs, debianutils, mkdocs, python3, python3Packages }:
+
 
 let
   nodeDependencies = (import ./node-composition.nix {
@@ -41,12 +43,15 @@ buildGoModule rec {
     DISABLE_ESLINT_PLUGIN=true npm_config_offline=true make web-build docs-build
   '';
 
-  passthru.updateScript = ./update.sh;
+  passthru = {
+    updateScript = ./update.sh;
+    tests.ntfy-sh = nixosTests.ntfy-sh;
+  };
 
   meta = with lib; {
     description = "Send push notifications to your phone or desktop via PUT/POST";
     homepage = "https://ntfy.sh";
     license = licenses.asl20;
-    maintainers = with maintainers; [ arjan-s ];
+    maintainers = with maintainers; [ arjan-s fpletz ];
   };
 }