From 9fff86f3eba18c1370e47485a2758611d3dda237 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Thu, 24 Nov 2022 11:15:20 +0100 Subject: [PATCH] bitcoin-classic: remove MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Motivations: 1. The project having been closed for 5 years, 2. 1 BXC is now worth less than 1 ¢, 3. It will stop building once Qt 5.14 is removed. --- .../blockchains/bitcoin-classic/default.nix | 78 ------------------- pkgs/top-level/aliases.nix | 2 + pkgs/top-level/all-packages.nix | 9 --- 3 files changed, 2 insertions(+), 87 deletions(-) delete mode 100644 pkgs/applications/blockchains/bitcoin-classic/default.nix diff --git a/pkgs/applications/blockchains/bitcoin-classic/default.nix b/pkgs/applications/blockchains/bitcoin-classic/default.nix deleted file mode 100644 index 4a0a99e288ae..000000000000 --- a/pkgs/applications/blockchains/bitcoin-classic/default.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, pkg-config -, autoreconfHook -, openssl -, db48 -, boost -, zlib -, miniupnpc -, qtbase ? null -, qttools ? null -, util-linux -, protobuf -, qrencode -, libevent -, withGui -}: - -stdenv.mkDerivation rec { - pname = "bitcoin" + lib.optionalString (!withGui) "d" + "-classic"; - version = "1.3.8uahf"; - - src = fetchFromGitHub { - owner = "bitcoinclassic"; - repo = "bitcoinclassic"; - rev = "v${version}"; - sha256 = "sha256-fVmFD1B4kKoejd2cmPPF5TJJQTAA6AVsGlVY8IIUNK4="; - }; - - nativeBuildInputs = [ pkg-config autoreconfHook ]; - buildInputs = [ - openssl - db48 - boost - zlib - miniupnpc - util-linux - protobuf - libevent - ] ++ lib.optionals withGui [ qtbase qttools qrencode ]; - - configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ] - ++ lib.optionals withGui [ - "--with-gui=qt5" - "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" - ]; - - CXXFLAGS = [ "-std=c++14" ]; - - enableParallelBuilding = true; - - dontWrapQtApps = true; - - meta = with lib; { - description = "Peer-to-peer electronic cash system (Classic client)"; - longDescription = '' - Bitcoin is a free open source peer-to-peer electronic cash system that is - completely decentralized, without the need for a central server or trusted - parties. Users hold the crypto keys to their own money and transact directly - with each other, with the help of a P2P network to check for double-spending. - - Bitcoin Classic stands for the original Bitcoin as Satoshi described it, - "A Peer-to-Peer Electronic Cash System". We are writing the software that - miners and users say they want. We will make sure it solves their needs, help - them deploy it, and gracefully upgrade the bitcoin network's capacity - together. The data shows that Bitcoin can grow, on-chain, to welcome many - more users onto our coin in a safe and distributed manner. In the future we - will continue to release updates that are in line with Satoshi’s whitepaper & - vision, and are agreed upon by the community. - ''; - homepage = "https://bitcoinclassic.com/"; - maintainers = with maintainers; [ jefdaj ]; - license = licenses.mit; - broken = stdenv.isDarwin; - platforms = platforms.unix; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 3ce97f6b505b..a7a6aa6e43d7 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -132,6 +132,8 @@ mapAliases ({ bird2 = bird; # Added 2022-02-21 bird6 = throw "bird6 was dropped. Use bird instead, which has support for both ipv4/ipv6"; # Added 2022-02-21 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 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 343176a0d47e..dacf17e8f180 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33555,15 +33555,6 @@ with pkgs; withGui = false; }; - bitcoin-classic = libsForQt514.callPackage ../applications/blockchains/bitcoin-classic { - boost = boost165; - withGui = true; - }; - bitcoind-classic = callPackage ../applications/blockchains/bitcoin-classic { - boost = boost165; - withGui = false; - }; - bitcoin-gold = libsForQt514.callPackage ../applications/blockchains/bitcoin-gold { boost = boost165; withGui = true;