tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
libbitcoin-explorer: 2.2.0 -> 3.4.0
Lorenzo Manacorda
8 years ago
abc3e455
23ca8e12
+13
-11
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
libbitcoin
libbitcoin-explorer.nix
+13
-11
pkgs/tools/misc/libbitcoin/libbitcoin-explorer.nix
···
1
-
{ stdenv, lib, fetchurl, pkgconfig, autoreconfHook
2
-
, boost, libbitcoin-client }:
3
4
let
5
pname = "libbitcoin-explorer";
6
-
version = "2.2.0";
7
8
in stdenv.mkDerivation {
9
name = "${pname}-${version}";
10
11
-
src = fetchurl {
12
-
url = "https://github.com/libbitcoin/libbitcoin-explorer/archive/v${version}.tar.gz";
13
-
sha256 = "00123vw7rxk0ypdfzk0xwk8q55ll31000mkjqdzl915krsbkbfvp";
0
0
14
};
15
16
nativeBuildInputs = [ autoreconfHook pkgconfig ];
17
-
buildInputs = [ ];
18
19
-
propagatedBuildInputs = [ libbitcoin-client ];
20
21
configureFlags = [
0
22
"--with-boost=${boost.dev}"
23
"--with-boost-libdir=${boost.out}/lib"
24
"--with-bash-completiondir=$out/share/bash-completion/completions"
···
28
description = "Bitcoin command line tool";
29
homepage = https://github.com/libbitcoin/libbitcoin-explorer;
30
platforms = platforms.linux ++ platforms.darwin;
31
-
maintainers = with maintainers; [ chris-martin ];
32
33
-
# https://wiki.unsystem.net/en/index.php/Libbitcoin/License
34
-
# AGPL with an additional clause
35
license = licenses.agpl3;
36
};
37
}
···
1
+
{ stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook
2
+
, boost, libbitcoin-client, libbitcoin-network }:
3
4
let
5
pname = "libbitcoin-explorer";
6
+
version = "3.4.0";
7
8
in stdenv.mkDerivation {
9
name = "${pname}-${version}";
10
11
+
src = fetchFromGitHub {
12
+
owner = "libbitcoin";
13
+
repo = pname;
14
+
rev = "v${version}";
15
+
sha256 = "0rxiimklzqyp9vswznz9aia71dn6jxm2pxx5ljlhzs5rs583cj00";
16
};
17
18
nativeBuildInputs = [ autoreconfHook pkgconfig ];
19
+
buildInputs = [ libbitcoin-client libbitcoin-network ];
20
21
+
enableParallelBuilding = true;
22
23
configureFlags = [
24
+
"--with-tests=no"
25
"--with-boost=${boost.dev}"
26
"--with-boost-libdir=${boost.out}/lib"
27
"--with-bash-completiondir=$out/share/bash-completion/completions"
···
31
description = "Bitcoin command line tool";
32
homepage = https://github.com/libbitcoin/libbitcoin-explorer;
33
platforms = platforms.linux ++ platforms.darwin;
34
+
maintainers = with maintainers; [ chris-martin asymmetric ];
35
36
+
# AGPL with a lesser clause
0
37
license = licenses.agpl3;
38
};
39
}