-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbitcoin-{blockchain,consensus,database,node,server}: init at 3.8.0
- Loading branch information
Showing
6 changed files
with
193 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook | ||
, boost, libbitcoin, libbitcoin-consensus, libbitcoin-database, withConsensus ? true }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "libbitcoin-blockchain"; | ||
version = "3.8.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "libbitcoin"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
hash = "sha256-wLIqigDYTqP1yYbpPKWWaNW5JV1O1h4PFMsbu3MRTB0="; | ||
}; | ||
|
||
nativeBuildInputs = [ autoreconfHook pkg-config ]; | ||
propagatedBuildInputs = [ libbitcoin libbitcoin-database ] | ||
++ (lib.optionals withConsensus [ libbitcoin-consensus ]); | ||
|
||
enableParallelBuilding = true; | ||
|
||
configureFlags = [ | ||
"--with-tests=no" | ||
"--with-boost=${boost.dev}" | ||
"--with-boost-libdir=${boost.out}/lib" | ||
] ++ (lib.optionals (!withConsensus) [ | ||
"--with-consensus=no" | ||
]); | ||
|
||
meta = with lib; { | ||
description = "Bitcoin blockchain library"; | ||
homepage = "https://libbitcoin.info/"; | ||
platforms = platforms.linux ++ platforms.darwin; | ||
maintainers = with maintainers; [ jacekpoz ]; | ||
# AGPL with a lesser clause | ||
license = licenses.agpl3Plus; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook | ||
, boost, libbitcoin }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "libbitcoin-consensus"; | ||
version = "3.8.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "libbitcoin"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
hash = "sha256-MVzWMtgadOTEGksUym9jb2WVI6Hkj28IT3Twdp1N2ag="; | ||
}; | ||
|
||
nativeBuildInputs = [ autoreconfHook pkg-config ]; | ||
propagatedBuildInputs = [ libbitcoin ]; | ||
|
||
enableParallelBuilding = true; | ||
|
||
configureFlags = [ | ||
"--with-tests=no" | ||
"--with-boost=${boost.dev}" | ||
"--with-boost-libdir=${boost.out}/lib" | ||
]; | ||
|
||
meta = with lib; { | ||
description = "Bitcoin consensus library"; | ||
homepage = "https://libbitcoin.info/"; | ||
platforms = platforms.linux ++ platforms.darwin; | ||
maintainers = with maintainers; [ jacekpoz ]; | ||
# AGPL with a lesser clause | ||
license = licenses.agpl3Plus; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook | ||
, boost, libbitcoin }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "libbitcoin-database"; | ||
version = "3.8.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "libbitcoin"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
hash = "sha256-Fx1xjfbf4VOula7TicyesYqac3rGBV1WssTYic0sJEk="; | ||
}; | ||
|
||
nativeBuildInputs = [ autoreconfHook pkg-config ]; | ||
propagatedBuildInputs = [ libbitcoin ]; | ||
|
||
enableParallelBuilding = true; | ||
|
||
configureFlags = [ | ||
"--with-tests=no" | ||
"--with-boost=${boost.dev}" | ||
"--with-boost-libdir=${boost.out}/lib" | ||
]; | ||
|
||
meta = with lib; { | ||
description = "Bitcoin high performance blockchain database"; | ||
homepage = "https://libbitcoin.info/"; | ||
platforms = platforms.linux ++ platforms.darwin; | ||
maintainers = with maintainers; [ jacekpoz ]; | ||
# AGPL with a lesser clause | ||
license = licenses.agpl3Plus; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook | ||
, boost, libbitcoin, libbitcoin-blockchain, libbitcoin-network }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "libbitcoin-node"; | ||
version = "3.8.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "libbitcoin"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
hash = "sha256-jFlA1v8q59atUpPLgNF7oyHK92EQNS+NPm548oQ3Kx0="; | ||
}; | ||
|
||
nativeBuildInputs = [ autoreconfHook pkg-config ]; | ||
propagatedBuildInputs = [ libbitcoin libbitcoin-blockchain libbitcoin-network ]; | ||
|
||
enableParallelBuilding = true; | ||
|
||
configureFlags = [ | ||
"--with-tests=no" | ||
"--with-boost=${boost.dev}" | ||
"--with-boost-libdir=${boost.out}/lib" | ||
]; | ||
|
||
meta = with lib; { | ||
description = "Bitcoin full node"; | ||
homepage = "https://libbitcoin.info/"; | ||
platforms = platforms.linux ++ platforms.darwin; | ||
maintainers = with maintainers; [ jacekpoz ]; | ||
# AGPL with a lesser clause | ||
license = licenses.agpl3Plus; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook | ||
, boost, libbitcoin, libbitcoin-node, libbitcoin-protocol }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "libbitcoin-server"; | ||
version = "3.8.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "libbitcoin"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
hash = "sha256-AZWv1j1Vjj7vqSb5G8LPy4vi1uLiRJBQrlkk6UdT/JE="; | ||
}; | ||
|
||
nativeBuildInputs = [ autoreconfHook pkg-config ]; | ||
propagatedBuildInputs = [ libbitcoin libbitcoin-node libbitcoin-protocol ]; | ||
|
||
enableParallelBuilding = true; | ||
|
||
configureFlags = [ | ||
"--with-tests=no" | ||
"--with-boost=${boost.dev}" | ||
"--with-boost-libdir=${boost.out}/lib" | ||
]; | ||
|
||
meta = with lib; { | ||
description = "Bitcoin full node and query server"; | ||
homepage = "https://libbitcoin.info/"; | ||
platforms = platforms.linux ++ platforms.darwin; | ||
maintainers = with maintainers; [ jacekpoz ]; | ||
# AGPL with a lesser clause | ||
license = licenses.agpl3Plus; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters