diff options
author | arjan-s <arjan-s@users.noreply.github.com> | 2022-03-30 17:35:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-30 17:35:26 +0200 |
commit | 0a3807942595869cf21027e0fa799368e3ac7442 (patch) | |
tree | a1e42705a2f82f16d602485fd3fd000ee886b51f /pkgs/tools/misc/ntfy-sh | |
parent | 7c4f9e0e249902418c1b5e42b0e4cdefd04917ac (diff) |
ntfy-sh: init at 1.18.1 (#166102)
Diffstat (limited to 'pkgs/tools/misc/ntfy-sh')
-rw-r--r-- | pkgs/tools/misc/ntfy-sh/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ntfy-sh/default.nix b/pkgs/tools/misc/ntfy-sh/default.nix new file mode 100644 index 0000000000000..6f5a0b0116336 --- /dev/null +++ b/pkgs/tools/misc/ntfy-sh/default.nix @@ -0,0 +1,28 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "ntfy-sh"; + version = "1.18.1"; + + src = fetchFromGitHub { + owner = "binwiederhier"; + repo = "ntfy"; + rev = "v${version}"; + sha256 = "sha256-rXdkNJYpQ8s2BeFRR4fSIuCrdq60me4B3wee64ei8qM="; + }; + + vendorSha256 = "sha256-7b3cQczQLUZ//5ubKvq8s9U75qJpJaieLN+kzjXIyHg="; + + doCheck = false; + + preBuild = '' + make server-deps-static-sites + ''; + + 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 ]; + }; +} |