clightning: 24.02.2 -> 24.05

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
Vincenzo Palazzo 2024-05-17 16:49:58 +02:00
parent e319c61904
commit fa4cc0e1f3

@ -16,17 +16,18 @@
, python3
, sqlite
, zlib
, jq
}:
let
py3 = python3.withPackages (p: [ p.mako ]);
in
stdenv.mkDerivation rec {
pname = "clightning";
version = "24.02.2";
version = "24.05";
src = fetchurl {
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
sha256 = "sha256-KQS/4VmUxJkNpvPcxL5Up9f25leiPzvi2AiKuzRQmDo=";
hash = "sha256-FD7JFM80wrruqBWjYnJHZh2f2GZJ6XDQmUQ0XetnWBg=";
};
# when building on darwin we need dawin.cctools to provide the correct libtool
@ -35,7 +36,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoconf autogen automake gettext libtool lowdown protobuf py3 unzip which ]
++ lib.optionals stdenv.isDarwin [ darwin.cctools darwin.autoSignDarwinBinariesHook ];
buildInputs = [ gmp libsodium sqlite zlib ];
buildInputs = [ gmp libsodium sqlite zlib jq ];
# this causes some python trouble on a darwin host so we skip this step.
# also we have to tell libwally-core to use sed instead of gsed.
@ -44,6 +45,7 @@ stdenv.mkDerivation rec {
tools/generate-wire.py \
tools/update-mocks.sh \
tools/mockup.sh \
tools/fromschema.py \
devtools/sql-rewrite.py
'' else ''
substituteInPlace external/libwally-core/tools/autogen.sh --replace gsed sed && \