3
0
Fork 0
forked from mirrors/nixpkgs
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
650 B
Nix
Raw Normal View History

2022-03-30 16:35:26 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ntfy-sh";
2022-06-03 08:22:12 +01:00
version = "1.25.2";
2022-03-30 16:35:26 +01:00
src = fetchFromGitHub {
owner = "binwiederhier";
repo = "ntfy";
rev = "v${version}";
2022-06-03 08:22:12 +01:00
sha256 = "sha256-xf0hk2GpBbjovZ1DIG6unnKQ297p8fjKZmgk/23IKdY=";
2022-03-30 16:35:26 +01:00
};
2022-06-03 08:22:12 +01:00
vendorSha256 = "sha256-ZZdGve6+g0bhE+iqemWl9XtLRfUn4V3hbdVz/UhrxCA=";
2022-03-30 16:35:26 +01:00
doCheck = false;
preBuild = ''
2022-05-23 08:44:02 +01:00
make cli-deps-static-sites
2022-03-30 16:35:26 +01: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 ];
};
}