2022-04-03 18:54:34 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ntfy-sh";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "1.28.0";
|
2022-04-03 18:54:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "binwiederhier";
|
|
|
|
repo = "ntfy";
|
|
|
|
rev = "v${version}";
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-pDKeG0Q4cG+UoxpBawHOtO8xVXXxo0Z7nyY2nZSSFvc=";
|
2022-04-03 18:54:34 +00:00
|
|
|
};
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
vendorSha256 = "sha256-oMZCjrCsq6aRxcdF6jQK51sZqOjbrdlbofSQvGO/POg=";
|
2022-04-03 18:54:34 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
preBuild = ''
|
2022-06-16 17:23:12 +00:00
|
|
|
make cli-deps-static-sites
|
2022-04-03 18:54:34 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|