about summary refs log tree commit diff
diff options
context:
space:
mode:
authorndowens <ndowens04@gmail.com>2017-03-06 18:58:09 -0600
committerMichael Raskin <7c6f434c@mail.ru>2017-03-24 16:59:24 +0100
commita23b18cfb863cb8cf14893324bef977dc4bdda08 (patch)
tree7231858b00bde94784de1a1e083beedc05b3ce40
parent39fdbbb71e7ffbb7bea328530dbede9e092b35e2 (diff)
downloadnixlib-a23b18cfb863cb8cf14893324bef977dc4bdda08.tar
nixlib-a23b18cfb863cb8cf14893324bef977dc4bdda08.tar.gz
nixlib-a23b18cfb863cb8cf14893324bef977dc4bdda08.tar.bz2
nixlib-a23b18cfb863cb8cf14893324bef977dc4bdda08.tar.lz
nixlib-a23b18cfb863cb8cf14893324bef977dc4bdda08.tar.xz
nixlib-a23b18cfb863cb8cf14893324bef977dc4bdda08.tar.zst
nixlib-a23b18cfb863cb8cf14893324bef977dc4bdda08.zip
bitcoin-classic: 0.11.2.cl1.b1 -> 1.2.1
-rw-r--r--pkgs/applications/altcoins/bitcoin-classic.nix22
1 files changed, 13 insertions, 9 deletions
diff --git a/pkgs/applications/altcoins/bitcoin-classic.nix b/pkgs/applications/altcoins/bitcoin-classic.nix
index 0c8753085029..60ef20177a37 100644
--- a/pkgs/applications/altcoins/bitcoin-classic.nix
+++ b/pkgs/applications/altcoins/bitcoin-classic.nix
@@ -1,20 +1,24 @@
-{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost
-, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode
+{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
+, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent
 , withGui }:
 
 with stdenv.lib;
+
 stdenv.mkDerivation rec {
 
   name = "bitcoin" + (toString (optional (!withGui) "d")) + "-classic-" + version;
-  version = "0.11.2.cl1.b1";
+  version = "1.2.1";
 
-  src = fetchurl {
-    url = "https://github.com/bitcoinclassic/bitcoinclassic/archive/v${version}.tar.gz";
-    sha256 = "1szsnx5aijk3hx7qkqzbqsr0basg8ydwp20mh3bhnf4ljryy2049";
+  src = fetchFromGitHub {
+    owner = "bitcoinclassic";
+    repo = "bitcoinclassic";
+    rev = "v${version}";
+    sha256 = "0ykblw6mb8bh2pa50iqgc5f07mmsz4m3yajsphqgiv5n2fwmkzng";
   };
 
-  buildInputs = [ pkgconfig autoreconfHook openssl db48 boost zlib
-                  miniupnpc utillinux protobuf ]
+  nativeBuildInputs = [ pkgconfig autoreconfHook ];
+  buildInputs = [ openssl db48 boost zlib
+                  miniupnpc utillinux protobuf libevent ]
                   ++ optionals withGui [ qt4 qrencode ];
 
   configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
@@ -35,7 +39,7 @@ stdenv.mkDerivation rec {
       continue to release updates that are in line with Satoshi’s whitepaper &
       vision, and are agreed upon by the community.
     '';
-    homepage = "https://bitcoinclassic.com/";
+    homepage = https://bitcoinclassic.com/;
     maintainers = with maintainers; [ jefdaj ];
     license = licenses.mit;
     platforms = platforms.unix;