2022-03-30 17:35:26 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ntfy-sh";
|
2022-09-28 13:48:06 +02:00
|
|
|
version = "1.28.0";
|
2022-03-30 17:35:26 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "binwiederhier";
|
|
|
|
repo = "ntfy";
|
|
|
|
rev = "v${version}";
|
2022-09-28 13:48:06 +02:00
|
|
|
sha256 = "sha256-pDKeG0Q4cG+UoxpBawHOtO8xVXXxo0Z7nyY2nZSSFvc=";
|
2022-03-30 17:35:26 +02:00
|
|
|
};
|
|
|
|
|
2022-09-28 13:48:06 +02:00
|
|
|
vendorSha256 = "sha256-oMZCjrCsq6aRxcdF6jQK51sZqOjbrdlbofSQvGO/POg=";
|
2022-03-30 17:35:26 +02:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
preBuild = ''
|
2022-05-23 09:44:02 +02:00
|
|
|
make cli-deps-static-sites
|
2022-03-30 17:35:26 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|