nixpkgs/pkgs/tools/misc/ntfy-sh/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
653 B
Nix
Raw Normal View History

2022-03-30 15:35:26 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ntfy-sh";
2022-04-07 12:07:37 +00:00
version = "1.20.0";
2022-03-30 15:35:26 +00:00
src = fetchFromGitHub {
owner = "binwiederhier";
repo = "ntfy";
rev = "v${version}";
2022-04-07 12:07:37 +00:00
sha256 = "sha256-JwRI58FadN7DH4MOO033EYmcbqCIuPxw5wWeafoInSg=";
2022-03-30 15:35:26 +00:00
};
2022-04-07 12:07:37 +00:00
vendorSha256 = "sha256-nzcCLDN/vJ6DS6isCSLL9ycxFkIyUwy4Um6M7NWAPTk=";
2022-03-30 15:35:26 +00:00
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 ];
};
}