clightning: init at 0.6
c-lightning is a standard compliant implementation of the Lightning Network protocol. The Lightning Network is a scalability solution for Bitcoin, enabling secure and instant transfer of funds between any two parties for any amount.
This commit is contained in:
parent
b0b76bf75a
commit
5d99d322e9
47
pkgs/applications/altcoins/clightning.nix
Normal file
47
pkgs/applications/altcoins/clightning.nix
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{ stdenv, fetchpatch, python3, pkgconfig, which, libtool, autoconf, automake,
|
||||||
|
autogen, git, sqlite, gmp, zlib, fetchFromGitHub }:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "clightning-${version}";
|
||||||
|
version = "0.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
fetchSubmodules = true;
|
||||||
|
owner = "ElementsProject";
|
||||||
|
repo = "lightning";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1xbi8c7kn21wj255fxnb9s0sqnzbn3wsz4p96z084k8mw1nc71vn";
|
||||||
|
};
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
buildInputs = [ which sqlite gmp zlib autoconf libtool automake autogen python3 pkgconfig ];
|
||||||
|
|
||||||
|
makeFlags = [ "prefix=$(out)" ];
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
./configure --prefix=$out --disable-developer --disable-valgrind
|
||||||
|
'';
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
echo "" > tools/refresh-submodules.sh
|
||||||
|
patchShebangs tools/generate-wire.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A Bitcoin Lightning Network implementation in C";
|
||||||
|
longDescription= ''
|
||||||
|
c-lightning is a standard compliant implementation of the Lightning
|
||||||
|
Network protocol. The Lightning Network is a scalability solution for
|
||||||
|
Bitcoin, enabling secure and instant transfer of funds between any two
|
||||||
|
parties for any amount.
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/ElementsProject/lightning;
|
||||||
|
maintainers = with maintainers; [ jb55 ];
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -6,6 +6,7 @@ rec {
|
|||||||
|
|
||||||
bitcoin = libsForQt5.callPackage ./bitcoin.nix { miniupnpc = miniupnpc_2; withGui = true; };
|
bitcoin = libsForQt5.callPackage ./bitcoin.nix { miniupnpc = miniupnpc_2; withGui = true; };
|
||||||
bitcoind = callPackage ./bitcoin.nix { miniupnpc = miniupnpc_2; withGui = false; };
|
bitcoind = callPackage ./bitcoin.nix { miniupnpc = miniupnpc_2; withGui = false; };
|
||||||
|
clightning = callPackage ./clightning.nix { };
|
||||||
|
|
||||||
bitcoin-abc = libsForQt5.callPackage ./bitcoin-abc.nix { boost = boost165; withGui = true; };
|
bitcoin-abc = libsForQt5.callPackage ./bitcoin-abc.nix { boost = boost165; withGui = true; };
|
||||||
bitcoind-abc = callPackage ./bitcoin-abc.nix { boost = boost165; withGui = false; };
|
bitcoind-abc = callPackage ./bitcoin-abc.nix { boost = boost165; withGui = false; };
|
||||||
|
@ -15012,7 +15012,10 @@ with pkgs;
|
|||||||
schismtracker = callPackage ../applications/audio/schismtracker { };
|
schismtracker = callPackage ../applications/audio/schismtracker { };
|
||||||
|
|
||||||
altcoins = recurseIntoAttrs ( callPackage ../applications/altcoins { } );
|
altcoins = recurseIntoAttrs ( callPackage ../applications/altcoins { } );
|
||||||
|
|
||||||
bitcoin = altcoins.bitcoin;
|
bitcoin = altcoins.bitcoin;
|
||||||
|
clightning = altcoins.clightning;
|
||||||
|
|
||||||
bitcoin-xt = altcoins.bitcoin-xt;
|
bitcoin-xt = altcoins.bitcoin-xt;
|
||||||
cryptop = altcoins.cryptop;
|
cryptop = altcoins.cryptop;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user