libbitcoin-explorer: init at 2.2.0

This commit is contained in:
Chris Martin 2017-01-02 14:13:33 -05:00
parent cb7c3d9712
commit 1d278febd0
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ stdenv, lib, fetchurl, pkgconfig, autoreconfHook
, boost, libbitcoin-client }:
let
pname = "libbitcoin-explorer";
version = "2.2.0";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/libbitcoin/libbitcoin-explorer/archive/v${version}.tar.gz";
sha256 = "00123vw7rxk0ypdfzk0xwk8q55ll31000mkjqdzl915krsbkbfvp";
};
buildInputs = [ autoreconfHook pkgconfig ];
propagatedBuildInputs = [ libbitcoin-client ];
configureFlags = [
"--with-boost=${boost.dev}"
"--with-boost-libdir=${boost.out}/lib"
"--with-bash-completiondir=$out/share/bash-completion/completions"
];
meta = with stdenv.lib; {
description = "Bitcoin command line tool";
homepage = https://github.com/libbitcoin/libbitcoin-explorer;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ chris-martin ];
# https://wiki.unsystem.net/en/index.php/Libbitcoin/License
# AGPL with an additional clause
license = licenses.agpl3;
};
}

View File

@ -12327,6 +12327,8 @@ in
libbitcoin-client = callPackage ../tools/misc/libbitcoin/libbitcoin-client.nix { };
libbitcoin-explorer = callPackage ../tools/misc/libbitcoin/libbitcoin-explorer.nix { };
go-ethereum = self.altcoins.go-ethereum;
ethabi = self.altcoins.ethabi;