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
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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";
14
+
};
15
+
16
+
buildInputs = [ autoreconfHook pkgconfig ];
17
+
18
+
propagatedBuildInputs = [ libbitcoin-client ];
19
+
20
+
configureFlags = [
21
+
"--with-boost=${boost.dev}"
22
+
"--with-boost-libdir=${boost.out}/lib"
23
+
"--with-bash-completiondir=$out/share/bash-completion/completions"
24
+
];
25
+
26
+
meta = with stdenv.lib; {
27
+
description = "Bitcoin command line tool";
28
+
homepage = https://github.com/libbitcoin/libbitcoin-explorer;
29
+
platforms = platforms.linux ++ platforms.darwin;
30
+
maintainers = with maintainers; [ chris-martin ];
31
+
32
+
# https://wiki.unsystem.net/en/index.php/Libbitcoin/License
33
+
# AGPL with an additional clause
34
+
license = licenses.agpl3;
35
+
};
36
+
}
+2
pkgs/top-level/all-packages.nix
···
12327
12328
libbitcoin-client = callPackage ../tools/misc/libbitcoin/libbitcoin-client.nix { };
12329
0
0
12330
go-ethereum = self.altcoins.go-ethereum;
12331
ethabi = self.altcoins.ethabi;
12332
···
12327
12328
libbitcoin-client = callPackage ../tools/misc/libbitcoin/libbitcoin-client.nix { };
12329
12330
+
libbitcoin-explorer = callPackage ../tools/misc/libbitcoin/libbitcoin-explorer.nix { };
12331
+
12332
go-ethereum = self.altcoins.go-ethereum;
12333
ethabi = self.altcoins.ethabi;
12334