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-26 23:56:31 +01:00
version = "1.27.2";
2022-03-30 16:35:26 +01:00
src = fetchFromGitHub {
owner = "binwiederhier";
repo = "ntfy";
rev = "v${version}";
2022-06-26 23:56:31 +01:00
sha256 = "sha256-0b4yC2kXh3c2SgKF11voWZh2qS3Y/4KJlt9WtjXswcE=";
2022-03-30 16:35:26 +01:00
};
2022-06-26 23:56:31 +01:00
vendorSha256 = "sha256-PXYSjhMNtDa0uCaLu0AyM1SMhZPr2wC+xMPDjeQIhDU=";
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 ];
};
}