libbitcoin{,client,explorer,network,protocol}: 3.5.0 -> 3.8.0

This commit is contained in:
Weijia Wang 2023-12-08 23:56:33 +01:00
parent 9aedfde2aa
commit 057a7ef324
6 changed files with 14 additions and 40 deletions

View File

@ -1,12 +0,0 @@
diff --git a/include/bitcoin/bitcoin/wallet/dictionary.hpp b/include/bitcoin/bitcoin/wallet/dictionary.hpp
index 632f1afc..63a51764 100644
--- a/include/bitcoin/bitcoin/wallet/dictionary.hpp
+++ b/include/bitcoin/bitcoin/wallet/dictionary.hpp
@@ -19,6 +19,7 @@
#ifndef LIBBITCOIN_WALLET_DICTIONARY_HPP
#define LIBBITCOIN_WALLET_DICTIONARY_HPP
+#include <cstddef>
#include <array>
#include <vector>
#include <bitcoin/bitcoin/compat.hpp>

View File

@ -1,18 +1,15 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
, boost, libbitcoin, libbitcoin-protocol }: , boost, libbitcoin, libbitcoin-protocol }:
let stdenv.mkDerivation rec {
pname = "libbitcoin-client"; pname = "libbitcoin-client";
version = "3.5.0"; version = "3.8.0";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libbitcoin"; owner = "libbitcoin";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0a9c00f1pfi8wczbfd1djkvr7di3iw1ynak6if910w01dkhbm6v4"; hash = "sha256-5qbxixaozHFsOcBxnuGEfNJyGL8UaYCOPwPakfc0bAg=";
}; };
nativeBuildInputs = [ autoreconfHook pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config ];

View File

@ -1,18 +1,15 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
, boost, libbitcoin-client, libbitcoin-network }: , boost, libbitcoin-client, libbitcoin-network }:
let stdenv.mkDerivation rec {
pname = "libbitcoin-explorer"; pname = "libbitcoin-explorer";
version = "3.5.0"; version = "3.8.0";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libbitcoin"; owner = "libbitcoin";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "033nrdzrha4kypxk4biixjsbjd16r4m2mjvpid4gdj5hzbbj1p93"; hash = "sha256-NUAtjrfRbZg5ewQo4PZ1HEoG8GRrsPcNb78UYMHqdyo=";
}; };
nativeBuildInputs = [ autoreconfHook pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config ];

View File

@ -1,18 +1,15 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
, boost, libbitcoin, zeromq }: , boost, libbitcoin, zeromq }:
let stdenv.mkDerivation rec {
pname = "libbitcoin-network"; pname = "libbitcoin-network";
version = "3.5.0"; version = "3.8.0";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libbitcoin"; owner = "libbitcoin";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0vqg3i40kwmbys4lyp82xvg2nx3ik4qhc66gcm8k66a86wpj9ji6"; hash = "sha256-zDT92bvA779mzTodpKugCoxapB6vY2jCMSGZEkJLTXQ=";
}; };
nativeBuildInputs = [ autoreconfHook pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config ];

View File

@ -1,18 +1,15 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
, boost, libbitcoin, secp256k1, zeromq }: , boost, libbitcoin, secp256k1, zeromq }:
let stdenv.mkDerivation rec {
pname = "libbitcoin-protocol"; pname = "libbitcoin-protocol";
version = "3.5.0"; version = "3.8.0";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libbitcoin"; owner = "libbitcoin";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1ln9r04hlnc7qmv17rakyhrnzw1a541pg5jc1sw3ccn90a5x6cfv"; hash = "sha256-xf0qQQnZ8h6ent1sgkVTo55+9drZM8Zbx0deYZnLBho=";
}; };
nativeBuildInputs = [ autoreconfHook pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config ];

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libbitcoin"; pname = "libbitcoin";
version = "3.6.0"; version = "3.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1rppyp3zpb6ymwangjpblwf6qh4y3d1hczrjx8aavmrq7hznnrhq"; hash = "sha256-7fxj2hnuGRUS4QSQ1w0s3looe9pMvE2U50/yhNyBMf0=";
}; };
nativeBuildInputs = [ autoreconfHook pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config ];
@ -18,8 +18,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
patches = [ ./fix-gcc11-compilation.patch ];
configureFlags = [ configureFlags = [
"--with-tests=no" "--with-tests=no"
"--with-boost=${boost.dev}" "--with-boost=${boost.dev}"