Merge pull request #201505 from r-ryantm/auto-update/ntfy-sh

This commit is contained in:
Franz Pletz 2022-12-14 12:08:03 +01:00 committed by GitHub
commit 78aaaaaadb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 827 additions and 828 deletions

View file

@ -1,4 +1,5 @@
import ./make-test-python.nix {
name = "ntfy-sh";
nodes.machine = { ... }: {
services.ntfy-sh.enable = true;

View file

@ -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 {
@ -8,16 +10,16 @@ let
in
buildGoModule rec {
pname = "ntfy-sh";
version = "1.28.0";
version = "1.29.1";
src = fetchFromGitHub {
owner = "binwiederhier";
repo = "ntfy";
rev = "v${version}";
sha256 = "sha256-pDKeG0Q4cG+UoxpBawHOtO8xVXXxo0Z7nyY2nZSSFvc=";
sha256 = "sha256-ikXhST+fvXu7FBeoYMzPq2LhpAw3gfaES1WlhnRO8BY=";
};
vendorSha256 = "sha256-oMZCjrCsq6aRxcdF6jQK51sZqOjbrdlbofSQvGO/POg=";
vendorSha256 = "sha256-VVqaQFluqV77/+Asu9xSBpCvoYr276UE3Yg+iNkxP0o=";
doCheck = false;
@ -41,10 +43,15 @@ buildGoModule rec {
DISABLE_ESLINT_PLUGIN=true npm_config_offline=true make web-build docs-build
'';
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 ];
};
}

File diff suppressed because it is too large Load diff