clightning: 0.12.0 -> 0.12.1
This commit is contained in:
parent
15aaff6f64
commit
41ec0886c3
|
@ -7,6 +7,7 @@
|
||||||
, automake
|
, automake
|
||||||
, gettext
|
, gettext
|
||||||
, libtool
|
, libtool
|
||||||
|
, lowdown
|
||||||
, protobuf
|
, protobuf
|
||||||
, unzip
|
, unzip
|
||||||
, which
|
, which
|
||||||
|
@ -21,30 +22,21 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "clightning";
|
pname = "clightning";
|
||||||
version = "0.12.0";
|
version = "0.12.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
|
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
|
||||||
sha256 = "1ff400339db3d314b459e1a3e973f1213783e814faa21f2e1b18917693cabfd9";
|
sha256 = "sha256-SlDDOJ6H2UVT/dof23CYSzCliAc+5CAYQc87AzOtYjg=";
|
||||||
};
|
|
||||||
|
|
||||||
manpages = fetchurl {
|
|
||||||
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}-manpages.tar.xz";
|
|
||||||
sha256 = "sha256-7EohXp0/gIJwlMsTHwlcLNBzZb8LwF9n0eXkQhOnY7g=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# when building on darwin we need dawin.cctools to provide the correct libtool
|
# when building on darwin we need dawin.cctools to provide the correct libtool
|
||||||
# as libwally-core detects the host as darwin and tries to add the -static
|
# as libwally-core detects the host as darwin and tries to add the -static
|
||||||
# option to libtool, also we have to add the modified gsed package.
|
# option to libtool, also we have to add the modified gsed package.
|
||||||
nativeBuildInputs = [ autoconf autogen automake gettext libtool protobuf py3 unzip which ]
|
nativeBuildInputs = [ autoconf autogen automake gettext libtool lowdown protobuf py3 unzip which ]
|
||||||
++ lib.optionals stdenv.isDarwin [ darwin.cctools darwin.autoSignDarwinBinariesHook ];
|
++ lib.optionals stdenv.isDarwin [ darwin.cctools darwin.autoSignDarwinBinariesHook ];
|
||||||
|
|
||||||
buildInputs = [ gmp libsodium sqlite zlib ];
|
buildInputs = [ gmp libsodium sqlite zlib ];
|
||||||
|
|
||||||
postUnpack = ''
|
|
||||||
tar -xf $manpages -C $sourceRoot
|
|
||||||
'';
|
|
||||||
|
|
||||||
# this causes some python trouble on a darwin host so we skip this step.
|
# 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.
|
# also we have to tell libwally-core to use sed instead of gsed.
|
||||||
postPatch = if !stdenv.isDarwin then ''
|
postPatch = if !stdenv.isDarwin then ''
|
||||||
|
|
Loading…
Reference in a new issue