diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2023-12-13 22:17:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 22:17:38 +0100 |
commit | 29653f452eb7c6728d8c6600b7d27d6f483ca791 (patch) | |
tree | 8253d51ab2dfdb45c107ec7a04960c8e13cf59c0 /pkgs/servers/monitoring | |
parent | f46e0f051cb2b62eb2dce2c9bfbf328109ad1e1c (diff) | |
parent | 0acd1c038fe790343996cf59b9f76b805967b77f (diff) | |
download | nixlib-29653f452eb7c6728d8c6600b7d27d6f483ca791.tar nixlib-29653f452eb7c6728d8c6600b7d27d6f483ca791.tar.gz nixlib-29653f452eb7c6728d8c6600b7d27d6f483ca791.tar.bz2 nixlib-29653f452eb7c6728d8c6600b7d27d6f483ca791.tar.lz nixlib-29653f452eb7c6728d8c6600b7d27d6f483ca791.tar.xz nixlib-29653f452eb7c6728d8c6600b7d27d6f483ca791.tar.zst nixlib-29653f452eb7c6728d8c6600b7d27d6f483ca791.zip |
Merge pull request #265054 from jpds/prometheus-xmpp-alerts-0.5.8
prometheus-xmpp-alerts: 0.5.6 → 0.5.8
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/xmpp-alerts.nix | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix b/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix index f9d9ce499b5f..da6013b9b5ec 100644 --- a/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix +++ b/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix @@ -9,27 +9,18 @@ python3Packages.buildPythonApplication rec { pname = "prometheus-xmpp-alerts"; - version = "0.5.6"; + version = "0.5.8"; + format = "pyproject"; src = fetchFromGitHub { owner = "jelmer"; repo = pname; rev = "v${version}"; - sha256 = "sha256-PwShGS1rbfZCK5OS6Cnn+mduOpWAD4fC69mcGB5GB1c="; + sha256 = "sha256-iwqcowwJktZQfdxykpsw/MweAPY0KF7ojVwvk1LP8a4="; }; - patches = [ - # Required until https://github.com/jelmer/prometheus-xmpp-alerts/pull/33 is merged - # and contained in a release - (fetchpatch { - name = "Fix-outdated-entrypoint-definiton.patch"; - url = "https://github.com/jelmer/prometheus-xmpp-alerts/commit/c41dd41dbd3c781b874bcf0708f6976e6252b621.patch"; - hash = "sha256-G7fRLSXbkI5EDgGf4n9xSVs54IPD0ev8rTEFffRvLY0="; - }) - ]; - postPatch = '' - substituteInPlace setup.cfg \ + substituteInPlace pyproject.toml \ --replace "bs4" "beautifulsoup4" ''; @@ -46,6 +37,7 @@ python3Packages.buildPythonApplication rec { ]); nativeCheckInputs = with python3Packages; [ + setuptools unittestCheckHook pytz ]; |