libbitcoin{,-client,-explorer,-network,-protocol}: drop

These are the last packages in the tree that depend on Boost
1.75. There hasn’t been a release since 2023; upstream have stated
in <https://github.com/libbitcoin/libbitcoin-system/issues/1234> that
they do not plan to maintain the current version, and are currently
working on a backwards‐incompatible major update.

Nothing in the tree uses these libraries. The only other software
distributions on Repology packaging them are YACP and the AUR, neither
of which has had an update since 2019. They were removed from Ubuntu
after 16.04, and have more recently been removed from [SlackBuilds.org]
and [Homebrew] with the same reasoning that they’re keeping Boost
1.75 around unnecessarily and no packaged software wants them.

[SlackBuilds.org]: https://github.com/SlackBuildsOrg/slackbuilds/commit/17c7d0e430eadaab2ea02d435b0f48977961eba9
[Homebrew]: https://github.com/Homebrew/homebrew-core/pull/157427

Since these packages are also unmaintained in Nixpkgs, let’s just
drop them and if anyone wants to package the 4.x version when it’s
out they can re‐add it.
This commit is contained in:
Emily
2024-11-25 02:04:59 +00:00
parent 1635ae0b38
commit c983d7bc80
7 changed files with 5 additions and 194 deletions
@@ -1,35 +0,0 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
, boost, libbitcoin, libbitcoin-protocol }:
stdenv.mkDerivation rec {
pname = "libbitcoin-client";
version = "3.8.0";
src = fetchFromGitHub {
owner = "libbitcoin";
repo = pname;
rev = "v${version}";
hash = "sha256-5qbxixaozHFsOcBxnuGEfNJyGL8UaYCOPwPakfc0bAg=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
propagatedBuildInputs = [ libbitcoin libbitcoin-protocol ];
enableParallelBuilding = true;
configureFlags = [
"--with-tests=no"
"--with-boost=${boost.dev}"
"--with-boost-libdir=${boost.out}/lib"
];
meta = with lib; {
description = "Bitcoin client query library";
homepage = "https://github.com/libbitcoin/libbitcoin-client";
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ ];
# AGPL with a lesser clause
license = licenses.agpl3Plus;
};
}
@@ -1,37 +0,0 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
, boost, libbitcoin-client, libbitcoin-network }:
stdenv.mkDerivation rec {
pname = "libbitcoin-explorer";
version = "3.8.0";
src = fetchFromGitHub {
owner = "libbitcoin";
repo = pname;
rev = "v${version}";
hash = "sha256-NUAtjrfRbZg5ewQo4PZ1HEoG8GRrsPcNb78UYMHqdyo=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libbitcoin-client libbitcoin-network ];
enableParallelBuilding = true;
configureFlags = [
"--with-tests=no"
"--with-boost=${boost.dev}"
"--with-boost-libdir=${boost.out}/lib"
"--with-bash-completiondir=$out/share/bash-completion/completions"
];
meta = with lib; {
description = "Bitcoin command line tool";
mainProgram = "bx";
homepage = "https://github.com/libbitcoin/libbitcoin-explorer";
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ asymmetric ];
# AGPL with a lesser clause
license = licenses.agpl3Plus;
};
}
@@ -1,35 +0,0 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
, boost, libbitcoin, zeromq }:
stdenv.mkDerivation rec {
pname = "libbitcoin-network";
version = "3.8.0";
src = fetchFromGitHub {
owner = "libbitcoin";
repo = pname;
rev = "v${version}";
hash = "sha256-zDT92bvA779mzTodpKugCoxapB6vY2jCMSGZEkJLTXQ=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libbitcoin zeromq ];
enableParallelBuilding = true;
configureFlags = [
"--with-tests=no"
"--with-boost=${boost.dev}"
"--with-boost-libdir=${boost.out}/lib"
];
meta = with lib; {
description = "Bitcoin P2P Network Library";
homepage = "https://libbitcoin.info/";
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ asymmetric ];
# AGPL with a lesser clause
license = licenses.agpl3Plus;
};
}
@@ -1,36 +0,0 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
, boost, libbitcoin, secp256k1, zeromq }:
stdenv.mkDerivation rec {
pname = "libbitcoin-protocol";
version = "3.8.0";
src = fetchFromGitHub {
owner = "libbitcoin";
repo = pname;
rev = "v${version}";
hash = "sha256-xf0qQQnZ8h6ent1sgkVTo55+9drZM8Zbx0deYZnLBho=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libbitcoin secp256k1 ];
propagatedBuildInputs = [ zeromq ];
enableParallelBuilding = true;
configureFlags = [
"--with-tests=no"
"--with-boost=${boost.dev}"
"--with-boost-libdir=${boost.out}/lib"
];
meta = with lib; {
description = "Bitcoin Blockchain Query Protocol";
homepage = "https://libbitcoin.info/";
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ asymmetric ];
# AGPL with a lesser clause
license = licenses.agpl3Plus;
};
}
-35
View File
@@ -1,35 +0,0 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
, boost, secp256k1 }:
stdenv.mkDerivation rec {
pname = "libbitcoin";
version = "3.8.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-7fxj2hnuGRUS4QSQ1w0s3looe9pMvE2U50/yhNyBMf0=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
propagatedBuildInputs = [ secp256k1 ];
enableParallelBuilding = true;
configureFlags = [
"--with-tests=no"
"--with-boost=${boost.dev}"
"--with-boost-libdir=${boost.out}/lib"
];
meta = with lib; {
description = "C++ library for building bitcoin applications";
homepage = "https://libbitcoin.info/";
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ ];
# AGPL with a lesser clause
license = licenses.agpl3Plus;
};
}
+5
View File
@@ -622,6 +622,11 @@ mapAliases {
libbencodetools = bencodetools; # Added 2022-07-30
libbpf_1 = libbpf; # Added 2022-12-06
libbson = mongoc; # Added 2024-03-11
libbitcoin = throw "libbitcoin has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
libbitcoin-client = throw "libbitcoin-client has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
libbitcoin-explorer = throw "libbitcoin-explorer has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
libbitcoin-network = throw "libbitcoin-network has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
libbitcoin-protocol = throw "libbitcoin-protocol has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
libgme = game-music-emu; # Added 2022-07-20
libgnome-keyring3 = libgnome-keyring; # Added 2024-06-22
libgpgerror = throw "'libgpgerror' has been renamed to/replaced by 'libgpg-error'"; # Converted to throw 2024-10-17
-16
View File
@@ -13415,22 +13415,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
libbitcoin = callPackage ../tools/misc/libbitcoin/libbitcoin.nix {
boost = boost175; # fatal error: 'boost/interprocess/detail/posix_time_types_wrk.hpp' file not found
};
libbitcoin-protocol = callPackage ../tools/misc/libbitcoin/libbitcoin-protocol.nix {
boost = boost175;
};
libbitcoin-client = callPackage ../tools/misc/libbitcoin/libbitcoin-client.nix {
boost = boost175;
};
libbitcoin-network = callPackage ../tools/misc/libbitcoin/libbitcoin-network.nix {
boost = boost175;
};
libbitcoin-explorer = callPackage ../tools/misc/libbitcoin/libbitcoin-explorer.nix {
boost = boost175;
};
ausweisapp = qt6Packages.callPackage ../applications/misc/ausweisapp { };
avidemux = libsForQt5.callPackage ../applications/video/avidemux { };