fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
2, boost, libbitcoin, secp256k1, zeromq }:
3
4let
5 pname = "libbitcoin-protocol";
6 version = "3.5.0";
7
8in stdenv.mkDerivation {
9 name = "${pname}-${version}";
10
11 src = fetchFromGitHub {
12 owner = "libbitcoin";
13 repo = pname;
14 rev = "v${version}";
15 sha256 = "1ln9r04hlnc7qmv17rakyhrnzw1a541pg5jc1sw3ccn90a5x6cfv";
16 };
17
18 nativeBuildInputs = [ autoreconfHook pkg-config ];
19 buildInputs = [ libbitcoin secp256k1 ];
20 propagatedBuildInputs = [ zeromq ];
21
22 enableParallelBuilding = true;
23
24 configureFlags = [
25 "--with-tests=no"
26 "--with-boost=${boost.dev}"
27 "--with-boost-libdir=${boost.out}/lib"
28 ];
29
30 meta = with lib; {
31 description = "Bitcoin Blockchain Query Protocol";
32 homepage = "https://libbitcoin.info/";
33 platforms = platforms.linux ++ platforms.darwin;
34 maintainers = with maintainers; [ asymmetric ];
35
36 # AGPL with a lesser clause
37 license = licenses.agpl3;
38 };
39}