Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add libbitcoin 1.0.10 #964

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions pkgs/development/libraries/libbitcoin/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ stdenv, fetchurl, pkgconfig, automake, autoconf, libtool, curl, leveldb,
protobuf, boost
}:

let version = "1.0.10"; in

stdenv.mkDerivation {
name = "libbitcoin-${version}";

src = fetchurl {
url = "http://libbitcoin.dyne.org/download/libbitcoin-1.0.10.tar.bz2";
sha256 = "2b8b5e6772b0872cc186b08a3e0ebdaaf4c9f06fb7192ba9414f6e67f083c06d";
};

buildInputs = [ pkgconfig automake autoconf libtool curl leveldb protobuf boost ];

preConfigure = "autoreconf -i";
configureFlags = "--enable-leveldb";

meta = {
homepage = https://github.com/spesmilo/libbitcoin;
description = "asynchronous C++ library for Bitcoin";
license = stdenv.lib.licenses.agpl3;
platforms = stdenv.lib.platforms.linux;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4510,6 +4510,10 @@ let

libbs2b = callPackage ../development/libraries/audio/libbs2b { };

libbitcoin = callPackage ../development/libraries/libbitcoin {
stdenv = overrideGCC stdenv gcc47;
};

libcaca = callPackage ../development/libraries/libcaca { };

libcanberra = callPackage ../development/libraries/libcanberra { };
Expand Down