Merge pull request #201505 from r-ryantm/auto-update/ntfy-sh
This commit is contained in:
commit
78aaaaaadb
|
@ -1,4 +1,5 @@
|
||||||
import ./make-test-python.nix {
|
import ./make-test-python.nix {
|
||||||
|
name = "ntfy-sh";
|
||||||
|
|
||||||
nodes.machine = { ... }: {
|
nodes.machine = { ... }: {
|
||||||
services.ntfy-sh.enable = true;
|
services.ntfy-sh.enable = true;
|
||||||
|
|
|
@ -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
|
let
|
||||||
nodeDependencies = (import ./node-composition.nix {
|
nodeDependencies = (import ./node-composition.nix {
|
||||||
|
@ -8,16 +10,16 @@ let
|
||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "ntfy-sh";
|
pname = "ntfy-sh";
|
||||||
version = "1.28.0";
|
version = "1.29.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "binwiederhier";
|
owner = "binwiederhier";
|
||||||
repo = "ntfy";
|
repo = "ntfy";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-pDKeG0Q4cG+UoxpBawHOtO8xVXXxo0Z7nyY2nZSSFvc=";
|
sha256 = "sha256-ikXhST+fvXu7FBeoYMzPq2LhpAw3gfaES1WlhnRO8BY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-oMZCjrCsq6aRxcdF6jQK51sZqOjbrdlbofSQvGO/POg=";
|
vendorSha256 = "sha256-VVqaQFluqV77/+Asu9xSBpCvoYr276UE3Yg+iNkxP0o=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -41,10 +43,15 @@ buildGoModule rec {
|
||||||
DISABLE_ESLINT_PLUGIN=true npm_config_offline=true make web-build docs-build
|
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; {
|
meta = with lib; {
|
||||||
description = "Send push notifications to your phone or desktop via PUT/POST";
|
description = "Send push notifications to your phone or desktop via PUT/POST";
|
||||||
homepage = "https://ntfy.sh";
|
homepage = "https://ntfy.sh";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ arjan-s ];
|
maintainers = with maintainers; [ arjan-s fpletz ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
1637
pkgs/tools/misc/ntfy-sh/node-packages.nix
generated
1637
pkgs/tools/misc/ntfy-sh/node-packages.nix
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue