btc1: init at 1.14.5

A portion of Bitcoin users (including the super-majority of the
miners) decided to hard fork to segwit2x around this November. At that
time this will not be compatible with the Bitcoin Core client. 1.14.5
is known as "the Production Release".

Wei Tang aabdd37c 58c0d631

+44
+1
lib/maintainers.nix
··· 545 545 smironov = "Sergey Mironov <grrwlf@gmail.com>"; 546 546 snyh = "Xia Bin <snyh@snyh.org>"; 547 547 solson = "Scott Olson <scott@solson.me>"; 548 + sorpaas = "Wei Tang <hi@that.world>"; 548 549 spacefrogg = "Michael Raitza <spacefrogg-nixos@meterriblecrew.net>"; 549 550 spencerjanssen = "Spencer Janssen <spencerjanssen@gmail.com>"; 550 551 spinus = "Tomasz Czyż <tomasz.czyz@gmail.com>";
+40
pkgs/applications/altcoins/btc1.nix
··· 1 + { stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost 2 + , zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent 3 + , withGui }: 4 + 5 + with stdenv.lib; 6 + stdenv.mkDerivation rec{ 7 + name = "bit1" + (toString (optional (!withGui) "d")) + "-" + version; 8 + version = "1.14.5"; 9 + 10 + src = fetchurl { 11 + url = "https://github.com/btc1/bitcoin/archive/v${version}.tar.gz"; 12 + sha256 = "1az6bbblh3adgcs16r9cjz8jacg6sbwfpg8zzfzkbp9h9j85ass5"; 13 + }; 14 + 15 + nativeBuildInputs = [ pkgconfig autoreconfHook ]; 16 + buildInputs = [ openssl db48 boost zlib 17 + miniupnpc protobuf libevent] 18 + ++ optionals stdenv.isLinux [ utillinux ] 19 + ++ optionals withGui [ qt4 qrencode ]; 20 + 21 + configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ] 22 + ++ optionals withGui [ "--with-gui=qt4" ]; 23 + 24 + meta = { 25 + description = "Peer-to-peer electronic cash system (btc1 client)"; 26 + longDescription= '' 27 + Bitcoin is a free open source peer-to-peer electronic cash system that is 28 + completely decentralized, without the need for a central server or trusted 29 + parties. Users hold the crypto keys to their own money and transact directly 30 + with each other, with the help of a P2P network to check for double-spending. 31 + 32 + btc1 is an implementation of a Bitcoin full node with segwit2x hard fork 33 + support. 34 + ''; 35 + homepage = "https://github.com/btc1/bitcoin"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ sorpaas ]; 38 + platforms = platforms.unix; 39 + }; 40 + }
+3
pkgs/applications/altcoins/default.nix
··· 14 14 bitcoin-xt = callPackage ./bitcoin-xt.nix { withGui = true; }; 15 15 bitcoind-xt = callPackage ./bitcoin-xt.nix { withGui = false; }; 16 16 17 + btc1 = callPackage ./btc1.nix { withGui = true; }; 18 + btc1d = callPackage ./btc1.nix { withGui = false; }; 19 + 17 20 dashpay = callPackage ./dashpay.nix { }; 18 21 19 22 dogecoin = callPackage ./dogecoin.nix { withGui = true; };