libbitcoin-client: 2.2.0 -> 3.4.0

+12 -11
+12 -11
pkgs/tools/misc/libbitcoin/libbitcoin-client.nix
··· 1 - { stdenv, lib, fetchurl, pkgconfig, autoreconfHook 2 - , boost, libsodium, czmqpp, libbitcoin }: 3 4 let 5 pname = "libbitcoin-client"; 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-client/archive/v${version}.tar.gz"; 13 - sha256 = "1g79hl6jmf5dam7vq19h4dgdj7gcn19fa7q78vn573mg2rdyal53"; 14 }; 15 16 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 17 - buildInputs = [ ]; 18 19 - propagatedBuildInputs = [ libsodium czmqpp libbitcoin ]; 20 21 configureFlags = [ 22 "--with-boost=${boost.dev}" 23 "--with-boost-libdir=${boost.out}/lib" 24 - "--with-bash-completiondir=$out/share/bash-completion/completions" 25 ]; 26 27 meta = with stdenv.lib; { ··· 30 platforms = platforms.linux ++ platforms.darwin; 31 maintainers = with maintainers; [ chris-martin ]; 32 33 - # https://wiki.unsystem.net/en/index.php/Libbitcoin/License 34 - # AGPL with an additional clause 35 license = licenses.agpl3; 36 }; 37 }
··· 1 + { stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook 2 + , boost, libbitcoin, libbitcoin-protocol }: 3 4 let 5 pname = "libbitcoin-client"; 6 + version = "3.4.0"; 7 8 in stdenv.mkDerivation { 9 name = "${pname}-${version}"; 10 11 + src = fetchFromGitHub { 12 + owner = "libbitcoin"; 13 + repo = pname; 14 + rev = "v${version}"; 15 + sha256 = "1vdp6qgpxshh6nhdvr81z3nvh42wgmsm4prli4ajigwp970y8p56"; 16 }; 17 18 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 19 + propagatedBuildInputs = [ libbitcoin libbitcoin-protocol ]; 20 21 + enableParallelBuilding = true; 22 23 configureFlags = [ 24 + "--with-tests=no" 25 "--with-boost=${boost.dev}" 26 "--with-boost-libdir=${boost.out}/lib" 27 ]; 28 29 meta = with stdenv.lib; { ··· 32 platforms = platforms.linux ++ platforms.darwin; 33 maintainers = with maintainers; [ chris-martin ]; 34 35 + # AGPL with a lesser clause 36 license = licenses.agpl3; 37 }; 38 }