From ce270b33efba5dfce560412a63a6c98ef1b95293 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Thu, 24 Nov 2022 11:46:09 +0100 Subject: [PATCH] bitcoin-gold: remove Motivations: 1. Bitcoin Gold has been unmmaintained since 2020 2. The GUI wallet doesn't support Qt > 5.14, which is deprecated --- .../blockchains/bitcoin-gold/default.nix | 72 ------------------- pkgs/top-level/aliases.nix | 2 + pkgs/top-level/all-packages.nix | 9 --- 3 files changed, 2 insertions(+), 81 deletions(-) delete mode 100644 pkgs/applications/blockchains/bitcoin-gold/default.nix diff --git a/pkgs/applications/blockchains/bitcoin-gold/default.nix b/pkgs/applications/blockchains/bitcoin-gold/default.nix deleted file mode 100644 index 5d6775f729aa..000000000000 --- a/pkgs/applications/blockchains/bitcoin-gold/default.nix +++ /dev/null @@ -1,72 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -, openssl -, boost -, libb2 -, libevent -, autoreconfHook -, db4 -, pkg-config -, protobuf -, hexdump -, zeromq -, libsodium -, withGui -, qtbase ? null -, qttools ? null -, wrapQtAppsHook ? null -}: - -with lib; - -stdenv.mkDerivation rec { - - pname = "bitcoin" + toString (optional (!withGui) "d") + "-gold"; - version = "0.17.3"; - - src = fetchFromGitHub { - owner = "BTCGPU"; - repo = "BTCGPU"; - rev = "v${version}"; - sha256 = "sha256-1tFoUNsCPJkHSmNRl5gE3n2EQD6RZSry1zIM5hiTzEI="; - }; - - nativeBuildInputs = [ - autoreconfHook - pkg-config - hexdump - ] ++ optionals withGui [ - wrapQtAppsHook - ]; - - buildInputs = [ - openssl - boost - libevent - db4 - zeromq - libsodium - libb2 - ] ++ optionals withGui [ - qtbase - qttools - protobuf - ]; - - enableParallelBuilding = true; - - configureFlags = [ - "--with-boost-libdir=${boost.out}/lib" - ] ++ optionals withGui [ - "--with-gui=qt5" - "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" - ]; - - meta = { - description = "BTG is a cryptocurrency with Bitcoin fundamentals, mined on common GPUs instead of specialty ASICs"; - homepage = "https://bitcoingold.org/"; - license = licenses.mit; - maintainers = [ maintainers.mmahut ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index a7a6aa6e43d7..83111201c5d5 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -134,6 +134,8 @@ mapAliases ({ bitbucket-cli = throw "bitbucket-cli has been removed: abandoned by upstream"; # Added 2022-03-21 bitcoin-classic = throw "bitcoin-classic has been removed: the Bitcoin Classic project has closed down, https://bitcoinclassic.com/news/closing.html"; # Added 2022-11-24 bitcoind-classic = throw "bitcoind-classic has been removed: the Bitcoin Classic project has closed down, https://bitcoinclassic.com/news/closing.html"; # Added 2022-11-24 + bitcoin-gold = throw "bitcoin-gold has been removed since it's unnmaintained and will stop building with Qt > 5.14"; # Added 2022-11-24 + bitcoind-gold = throw "bitcoin-gold has been removed since it's unnmaintained: https://github.com/BTCGPU/BTCGPU/graphs/code-frequency"; # Added 2022-11-24 bitsnbots = throw "bitsnbots has been removed because it was broken and upstream missing"; # Added 2021-08-22 blastem = throw "blastem has been removed from nixpkgs as it would still require python2"; # Added 2022-01-01 bluezFull = bluez; # Added 2019-12-03 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dacf17e8f180..ccd3bed10bac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33555,15 +33555,6 @@ with pkgs; withGui = false; }; - bitcoin-gold = libsForQt514.callPackage ../applications/blockchains/bitcoin-gold { - boost = boost165; - withGui = true; - }; - bitcoind-gold = callPackage ../applications/blockchains/bitcoin-gold { - boost = boost165; - withGui = false; - }; - btcpayserver = callPackage ../applications/blockchains/btcpayserver { }; charge-lnd = callPackage ../applications/blockchains/charge-lnd { };