tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libbitcoin-explorer: init at 2.2.0
Chris Martin
9 years ago
1d278feb
cb7c3d97
+38
2 changed files
expand all
collapse all
unified
split
pkgs
tools
misc
libbitcoin
libbitcoin-explorer.nix
top-level
all-packages.nix
+36
pkgs/tools/misc/libbitcoin/libbitcoin-explorer.nix
···
1
1
+
{ stdenv, lib, fetchurl, pkgconfig, autoreconfHook
2
2
+
, boost, libbitcoin-client }:
3
3
+
4
4
+
let
5
5
+
pname = "libbitcoin-explorer";
6
6
+
version = "2.2.0";
7
7
+
8
8
+
in stdenv.mkDerivation {
9
9
+
name = "${pname}-${version}";
10
10
+
11
11
+
src = fetchurl {
12
12
+
url = "https://github.com/libbitcoin/libbitcoin-explorer/archive/v${version}.tar.gz";
13
13
+
sha256 = "00123vw7rxk0ypdfzk0xwk8q55ll31000mkjqdzl915krsbkbfvp";
14
14
+
};
15
15
+
16
16
+
buildInputs = [ autoreconfHook pkgconfig ];
17
17
+
18
18
+
propagatedBuildInputs = [ libbitcoin-client ];
19
19
+
20
20
+
configureFlags = [
21
21
+
"--with-boost=${boost.dev}"
22
22
+
"--with-boost-libdir=${boost.out}/lib"
23
23
+
"--with-bash-completiondir=$out/share/bash-completion/completions"
24
24
+
];
25
25
+
26
26
+
meta = with stdenv.lib; {
27
27
+
description = "Bitcoin command line tool";
28
28
+
homepage = https://github.com/libbitcoin/libbitcoin-explorer;
29
29
+
platforms = platforms.linux ++ platforms.darwin;
30
30
+
maintainers = with maintainers; [ chris-martin ];
31
31
+
32
32
+
# https://wiki.unsystem.net/en/index.php/Libbitcoin/License
33
33
+
# AGPL with an additional clause
34
34
+
license = licenses.agpl3;
35
35
+
};
36
36
+
}
+2
pkgs/top-level/all-packages.nix
···
12327
12327
12328
12328
libbitcoin-client = callPackage ../tools/misc/libbitcoin/libbitcoin-client.nix { };
12329
12329
12330
12330
+
libbitcoin-explorer = callPackage ../tools/misc/libbitcoin/libbitcoin-explorer.nix { };
12331
12331
+
12330
12332
go-ethereum = self.altcoins.go-ethereum;
12331
12333
ethabi = self.altcoins.ethabi;
12332
12334