Merge pull request #146457 from nh2/ntfy-fix-slack-integration
ntfy: Patch Slack integration to work again.
This commit is contained in:
commit
d6d14adcb8
|
@ -1,4 +1,4 @@
|
||||||
{ lib, python3Packages, fetchFromGitHub }:
|
{ lib, python3Packages, fetchFromGitHub, fetchpatch }:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "ntfy";
|
pname = "ntfy";
|
||||||
|
@ -23,6 +23,17 @@ python3Packages.buildPythonApplication rec {
|
||||||
matrix-client
|
matrix-client
|
||||||
dbus-python
|
dbus-python
|
||||||
ntfy-webpush
|
ntfy-webpush
|
||||||
|
slack-sdk
|
||||||
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix Slack integration no longer working.
|
||||||
|
# From https://github.com/dschep/ntfy/pull/229 - "Swap Slacker for Slack SDK"
|
||||||
|
(fetchpatch {
|
||||||
|
name = "ntfy-Swap-Slacker-for-Slack-SDK.patch";
|
||||||
|
url = "https://github.com/dschep/ntfy/commit/2346e7cfdca84c8f1afc7462a92145c1789deb3e.patch";
|
||||||
|
sha256 = "13k7jbsdx0jx7l5s8whirric76hml5bznkfcxab5xdp88q52kpk7";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue