Merge pull request #50530 from jb55/bump-clightning
clightning: 0.6.1 -> 0.6.2
This commit is contained in:
commit
4f29b8ec7a
|
@ -1,22 +1,23 @@
|
||||||
{ stdenv, python3, pkgconfig, which, libtool, autoconf, automake,
|
{ stdenv, python3, pkgconfig, which, libtool, autoconf, automake,
|
||||||
autogen, sqlite, gmp, zlib, fetchFromGitHub }:
|
autogen, sqlite, gmp, zlib, fetchFromGitHub, fetchpatch }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "clightning-${version}";
|
name = "clightning-${version}";
|
||||||
version = "0.6.1";
|
version = "0.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
owner = "ElementsProject";
|
owner = "ElementsProject";
|
||||||
repo = "lightning";
|
repo = "lightning";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0qx30i1c97ic4ii8bm0sk9dh76nfg4ihl9381gxjj14i4jr1q8y4";
|
sha256 = "18yns0yyf7kc4p4n1crxdqh37j9faxkx216nh2ip7cxj4x8bf9gx";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [ which sqlite gmp zlib autoconf libtool automake autogen python3 pkgconfig ];
|
nativeBuildInputs = [ autoconf autogen automake libtool pkgconfig which ];
|
||||||
|
buildInputs = [ sqlite gmp zlib python3 ];
|
||||||
|
|
||||||
makeFlags = [ "prefix=$(out)" ];
|
makeFlags = [ "prefix=$(out)" ];
|
||||||
|
|
||||||
|
@ -24,6 +25,15 @@ stdenv.mkDerivation rec {
|
||||||
./configure --prefix=$out --disable-developer --disable-valgrind
|
./configure --prefix=$out --disable-developer --disable-valgrind
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# NOTE: remove me in 0.6.3
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "clightning_0_6_2-compile-error.patch";
|
||||||
|
url = https://patch-diff.githubusercontent.com/raw/ElementsProject/lightning/pull/2070.patch;
|
||||||
|
sha256 = "1576fqik5zcpz5zsvp2ks939bgiz0jc22yf24iv61000dd5j6na9";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
echo "" > tools/refresh-submodules.sh
|
echo "" > tools/refresh-submodules.sh
|
||||||
patchShebangs tools/generate-wire.py
|
patchShebangs tools/generate-wire.py
|
||||||
|
|
Loading…
Reference in New Issue