fix prometheus msat purge error

This commit is contained in:
Haos Games 2023-07-23 19:45:19 +02:00
parent 6eaddd970a
commit 8157cd4fe3

View File

@ -3,25 +3,14 @@ pkgs: nbPython3Packages:
let
inherit (pkgs) lib;
src = pkgs.applyPatches {
src = pkgs.fetchFromGitHub {
owner = "lightningd";
repo = "plugins";
rev = "eee5e90df442586b7f891df4fc0c67d273534737";
sha256 = "0ry6gxp9gqpzpdjykx0a5q53saai5jydwvcy6smsh0f5dmjl8srh";
};
patches = [
# https://github.com/lightningd/plugins/pull/451
(pkgs.fetchpatch {
name = "202305-prometheus-msat-purge";
url = "https://github.com/lightningd/plugins/commit/f8a27b97a1b9ded8790c1f033b1f4268c0a6e210.patch";
sha256 = "sha256-0lFMhHHIi9bUU0+xaHhpnascNlFmr51JxE6e2F0s0zc=";
})
];
src = pkgs.fetchFromGitHub {
owner = "lightningd";
repo = "plugins";
rev = "ce078bb74e10b5dea779fcd9fbe77e1d3e72db7a";
hash = "sha256-SCHSJzXe1l14hVT47SU3lWDxKCKwwICjXjSDpjUX96U";
};
version = builtins.substring 0 7 src.src.rev;
version = builtins.substring 0 7 src.rev;
plugins = with nbPython3Packages; {
currencyrate = {