diff --git a/appinfo/info.xml b/appinfo/info.xml index 120793f..6ab426a 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -11,7 +11,7 @@ - 1.3.5 + 1.4.0 agpl Robin Appelman NotifyPush @@ -27,7 +27,7 @@ Once the app is installed, the push binary needs to be setup. You can either use https://github.com/nextcloud/notify_push/issues - + diff --git a/flake.nix b/flake.nix index b87bade..8fffb09 100644 --- a/flake.nix +++ b/flake.nix @@ -148,7 +148,30 @@ checks = { nixosTest = pkgs.nextcloud-notify_push.tests.with-postgresql-and-redis34.extendNixOS { module = { - services.nextcloud.notify_push.package = hostNaersk.buildPackage nearskOpt; + services.nextcloud = { + notify_push.package = hostNaersk.buildPackage nearskOpt; + extraApps.notify_push = lib.mkForce (pkgs.stdenvNoCC.mkDerivation { + pname = "notify_push"; + version = "develop"; + src = lib.sources.sourceByRegex (lib.cleanSource ./.) [ + "(appinfo|lib|img)(/.*)?" + ]; + + phases = [ + "unpackPhase" + "installPhase" + ]; + + installPhase = "cp -R ./ $out"; + + meta = { + license = "agpl3Plus"; + homepage = "https://github.com/nextcloud/notify_push"; + url = "https://github.com/nextcloud-releases/notify_push"; + description = "Push update support for desktop app"; + }; + }); + }; }; }; };