libbitcoin-explorer: init at 2.2.0

+38
+36
pkgs/tools/misc/libbitcoin/libbitcoin-explorer.nix
··· 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 12327 12328 12328 libbitcoin-client = callPackage ../tools/misc/libbitcoin/libbitcoin-client.nix { }; 12329 12329 12330 + libbitcoin-explorer = callPackage ../tools/misc/libbitcoin/libbitcoin-explorer.nix { }; 12331 + 12330 12332 go-ethereum = self.altcoins.go-ethereum; 12331 12333 ethabi = self.altcoins.ethabi; 12332 12334