Skip to content

Commit

Permalink
clightning: 0.6.1 -> 0.6.2
Browse files Browse the repository at this point in the history
Signed-off-by: William Casarin <jb55@jb55.com>
  • Loading branch information
jb55 committed Nov 17, 2018
1 parent 41391e9 commit 3c1d711
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions pkgs/applications/altcoins/clightning.nix
@@ -1,17 +1,17 @@
{ stdenv, python3, pkgconfig, which, libtool, autoconf, automake,
autogen, sqlite, gmp, zlib, fetchFromGitHub }:
autogen, sqlite, gmp, zlib, fetchFromGitHub, fetchpatch }:

with stdenv.lib;
stdenv.mkDerivation rec {
name = "clightning-${version}";
version = "0.6.1";
version = "0.6.2";

src = fetchFromGitHub {
fetchSubmodules = true;
owner = "ElementsProject";
repo = "lightning";
rev = "v${version}";
sha256 = "0qx30i1c97ic4ii8bm0sk9dh76nfg4ihl9381gxjj14i4jr1q8y4";
sha256 = "18yns0yyf7kc4p4n1crxdqh37j9faxkx216nh2ip7cxj4x8bf9gx";
};

enableParallelBuilding = true;
Expand All @@ -24,6 +24,15 @@ stdenv.mkDerivation rec {
./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 = ''
echo "" > tools/refresh-submodules.sh
patchShebangs tools/generate-wire.py
Expand Down

0 comments on commit 3c1d711

Please sign in to comment.