Merge pull request #110236 from prusnak/clightning

clightning: 0.9.2 -> 0.9.3

authored by Pavol Rusnak and committed by GitHub e06e8475 67fabbc7

+33 -21
+33 -21
pkgs/applications/blockchains/clightning.nix
··· 1 - { lib, stdenv, python3, pkg-config, which, libtool, autoconf, automake, 2 - autogen, sqlite, gmp, zlib, fetchurl, unzip, fetchpatch, gettext }: 3 - 4 - with lib; 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , autoconf 5 + , automake 6 + , autogen 7 + , gettext 8 + , libtool 9 + , pkg-config 10 + , unzip 11 + , which 12 + , gmp 13 + , python3 14 + , sqlite 15 + , zlib 16 + }: 17 + let 18 + py3 = python3.withPackages (p: [ p.Mako ]); 19 + in 5 20 stdenv.mkDerivation rec { 6 21 pname = "clightning"; 7 - version = "0.9.2"; 22 + version = "0.9.3"; 8 23 9 24 src = fetchurl { 10 25 url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip"; 11 - sha256 = "022fw6rbn0chg0432h9q05w8qnys0hd9hf1qm2qlnnmamxw4dyfy"; 26 + sha256 = "b4563921ed8bccd59d32b031f81825dc57fbe90882f0ecd5da89e48b59ff18b2"; 12 27 }; 13 28 14 - enableParallelBuilding = true; 15 - 16 - nativeBuildInputs = [ autoconf autogen automake libtool pkg-config which unzip gettext ]; 17 - buildInputs = 18 - let py3 = python3.withPackages (p: [ p.Mako ]); 19 - in [ sqlite gmp zlib py3 ]; 20 - 21 - makeFlags = [ "prefix=$(out) VERSION=v${version}" ]; 29 + nativeBuildInputs = [ autogen autoconf automake gettext libtool pkg-config py3 unzip which ]; 22 30 23 - configurePhase = '' 24 - ./configure --prefix=$out --disable-developer --disable-valgrind 25 - ''; 31 + buildInputs = [ gmp sqlite zlib ]; 26 32 27 33 postPatch = '' 28 34 patchShebangs \ ··· 32 38 devtools/sql-rewrite.py 33 39 ''; 34 40 35 - doCheck = false; 41 + configurePhase = '' 42 + ./configure --prefix=$out --disable-developer --disable-valgrind 43 + ''; 44 + 45 + makeFlags = [ "prefix=$(out) VERSION=v${version}" ]; 46 + 47 + enableParallelBuilding = true; 36 48 37 - meta = { 49 + meta = with lib; { 38 50 description = "A Bitcoin Lightning Network implementation in C"; 39 - longDescription= '' 51 + longDescription = '' 40 52 c-lightning is a standard compliant implementation of the Lightning 41 53 Network protocol. The Lightning Network is a scalability solution for 42 54 Bitcoin, enabling secure and instant transfer of funds between any two 43 55 parties for any amount. 44 56 ''; 45 57 homepage = "https://github.com/ElementsProject/lightning"; 46 - maintainers = with maintainers; [ jb55 ]; 58 + maintainers = with maintainers; [ jb55 prusnak ]; 47 59 license = licenses.mit; 48 60 platforms = platforms.linux; 49 61 };