Something went wrong. Try again.
lol
Something went wrong. Try again.
811 B · 44 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pywebpush, py-vapid,}:
buildPythonPackage rec { pname = "ntfy-webpush"; version = "0.1.3"; pyproject = true;
src = fetchFromGitHub { owner = "dschep"; repo = "ntfy-webpush"; tag = "v${version}"; hash = "sha256-VvQ/kCrq7KSMQdYb8p5P0REdek5oNhjslB45+gbetLc="; };
postPatch = '' # break dependency loop substituteInPlace setup.py \ --replace-fail "'ntfy', " "" '';
build-system = [ setuptools ];
dependencies = [ pywebpush py-vapid ];
# no tests, just a script doCheck = false;
meta = { description = "Cloudbell webpush notification support for ntfy"; homepage = "https://dschep.github.io/ntfy-webpush/"; license = lib.licenses.mit; maintainers = [ ]; };}