libbitcoin-explorer: 2.2.0 -> 3.4.0

This commit is contained in:
Lorenzo Manacorda 2017-12-21 01:25:42 +01:00
parent 23ca8e1287
commit abc3e4558d

View File

@ -1,24 +1,27 @@
{ stdenv, lib, fetchurl, pkgconfig, autoreconfHook
, boost, libbitcoin-client }:
{ stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook
, boost, libbitcoin-client, libbitcoin-network }:
let
pname = "libbitcoin-explorer";
version = "2.2.0";
version = "3.4.0";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/libbitcoin/libbitcoin-explorer/archive/v${version}.tar.gz";
sha256 = "00123vw7rxk0ypdfzk0xwk8q55ll31000mkjqdzl915krsbkbfvp";
src = fetchFromGitHub {
owner = "libbitcoin";
repo = pname;
rev = "v${version}";
sha256 = "0rxiimklzqyp9vswznz9aia71dn6jxm2pxx5ljlhzs5rs583cj00";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ ];
buildInputs = [ libbitcoin-client libbitcoin-network ];
propagatedBuildInputs = [ libbitcoin-client ];
enableParallelBuilding = true;
configureFlags = [
"--with-tests=no"
"--with-boost=${boost.dev}"
"--with-boost-libdir=${boost.out}/lib"
"--with-bash-completiondir=$out/share/bash-completion/completions"
@ -28,10 +31,9 @@ in stdenv.mkDerivation {
description = "Bitcoin command line tool";
homepage = https://github.com/libbitcoin/libbitcoin-explorer;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ chris-martin ];
maintainers = with maintainers; [ chris-martin asymmetric ];
# https://wiki.unsystem.net/en/index.php/Libbitcoin/License
# AGPL with an additional clause
# AGPL with a lesser clause
license = licenses.agpl3;
};
}