Merge branch 'master' into staging
This commit is contained in:
@@ -4,17 +4,19 @@
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clightning";
|
||||
version = "0.7.1";
|
||||
version = "0.7.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
|
||||
sha256 = "557be34410f27a8d55d9f31a40717a8f5e99829f2bd114c24e7ca1dd5f6b7d85";
|
||||
sha256 = "3be716948efc1208b5e6a41e3034e4e4eecc5abbdac769fd1d999a104ac3a2ec";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ autoconf autogen automake libtool pkgconfig which unzip ];
|
||||
buildInputs = [ sqlite gmp zlib python3 ];
|
||||
buildInputs =
|
||||
let py3 = python3.withPackages (p: [ p.Mako ]);
|
||||
in [ sqlite gmp zlib py3 ];
|
||||
|
||||
makeFlags = [ "prefix=$(out) VERSION=v${version}" ];
|
||||
|
||||
@@ -23,7 +25,10 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs tools/generate-wire.py
|
||||
patchShebangs \
|
||||
tools/generate-wire.py \
|
||||
tools/update-mocks.sh \
|
||||
tools/mockup.sh
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
let
|
||||
version = "2.6.1";
|
||||
sha256 = "0yvscs2ivy08zla3jhirxhwwaqsn9j5ml4sqbgx6h5rh19c941vh";
|
||||
cargoSha256 = "1s3c44cggajrmc504klf4cyb1s4l5ny48yihs9c3fc0n8d064017";
|
||||
version = "2.6.2";
|
||||
sha256 = "1j4249m5k3bi7di0wq6fm64zv3nlpgmg4hr5hnn94fyc09nz9n1r";
|
||||
cargoSha256 = "18zd91n04wck3gd8szj4vxn3jq0bzq0h3rg0wcs6nzacbzhcx2sw";
|
||||
in
|
||||
import ./parity.nix { inherit version sha256 cargoSha256; }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
let
|
||||
version = "2.5.6";
|
||||
sha256 = "1qkrqkkgjvm27babd6bidhf1n6vdp8rac1zy5kf61nfzplxzr2dy";
|
||||
version = "2.5.7";
|
||||
sha256 = "0aprs71cbf98dsvjz0kydngkvdg5x7dijji8j6xadgvsarl1ljnj";
|
||||
cargoSha256 = "0aa0nkv3jr7cdzswbxghxxv0y65a59jgs1682ch8vrasi0x17m1x";
|
||||
in
|
||||
import ./parity.nix { inherit version sha256 cargoSha256; }
|
||||
|
||||
@@ -7,11 +7,10 @@
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
|
||||
, pkgconfig
|
||||
, openssl
|
||||
, systemd
|
||||
, cmake
|
||||
, perl
|
||||
, openssl
|
||||
, pkgconfig
|
||||
, systemd
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
@@ -26,10 +25,9 @@ rustPlatform.buildRustPackage {
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig cmake perl
|
||||
systemd.lib systemd.dev openssl openssl.dev
|
||||
];
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [ openssl systemd ];
|
||||
|
||||
cargoBuildFlags = [ "--features final" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user