bitcoin: 30.2 -> 31.0 bitcoind: 30.2 -> 31.0 clboss: 0.15.1 -> 0.16.0 clightning: 25.12.1 -> 26.04.1 elementsd: 23.3.2 -> 23.3.3 lightning-loop: 0.31.5-beta -> 0.33.0-beta lightning-loop 0.31.7+ blocks until lnd's chain notifier is ready (lightninglabs/loop@bde49d7a), so the workaround sleep added in the previous commit is no longer needed for lightning-loop. The lightning-pool workaround stays — pool has no equivalent fix and isn't actively maintained. Note: nbxplorer test fails (presumed incompatibility with bitcoin 31).
44 lines
877 B
Nix
44 lines
877 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
clightning,
|
|
unzip,
|
|
protobuf,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "clnrest";
|
|
version = "0.2.0";
|
|
|
|
inherit (clightning) src;
|
|
|
|
cargoHash = "sha256-0rpr941QkDeNLQ6Se9+DbbVBCmGyU721a27XNzylpPw=";
|
|
|
|
depsExtraArgs = {
|
|
nativeBuildInputs = [ unzip ];
|
|
# Don't run `configure` of the main project build
|
|
dontConfigure = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
# For unpacking the src
|
|
unzip
|
|
];
|
|
|
|
cargoBuildFlags = [ "--package clnrest" ];
|
|
|
|
nativeCheckInputs = [
|
|
# Required by lightning/cln-grpc/build.rs
|
|
protobuf
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "REST plugin for clightning";
|
|
homepage = "https://github.com/ElementsProject/lightning/tree/master/plugins/rest-plugin";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [
|
|
erikarvstedt
|
|
];
|
|
mainProgram = "clnrest";
|
|
};
|
|
}
|