libbitcoin-client: init at 2.2.0
This commit is contained in:
parent
1f896f4bdd
commit
cb7c3d9712
36
pkgs/tools/misc/libbitcoin/libbitcoin-client.nix
Normal file
36
pkgs/tools/misc/libbitcoin/libbitcoin-client.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, lib, fetchurl, pkgconfig, autoreconfHook
|
||||
, boost, libsodium, czmqpp, libbitcoin }:
|
||||
|
||||
let
|
||||
pname = "libbitcoin-client";
|
||||
version = "2.2.0";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/libbitcoin/libbitcoin-client/archive/v${version}.tar.gz";
|
||||
sha256 = "1g79hl6jmf5dam7vq19h4dgdj7gcn19fa7q78vn573mg2rdyal53";
|
||||
};
|
||||
|
||||
buildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
propagatedBuildInputs = [ libsodium czmqpp libbitcoin ];
|
||||
|
||||
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 client query library";
|
||||
homepage = https://github.com/libbitcoin/libbitcoin-client;
|
||||
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;
|
||||
};
|
||||
}
|
@ -12325,6 +12325,8 @@ in
|
||||
secp256k1 = secp256k1.override { enableECDH = true; };
|
||||
};
|
||||
|
||||
libbitcoin-client = callPackage ../tools/misc/libbitcoin/libbitcoin-client.nix { };
|
||||
|
||||
go-ethereum = self.altcoins.go-ethereum;
|
||||
ethabi = self.altcoins.ethabi;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user