3
0
Fork 0
forked from mirrors/nixpkgs

bitcoin-xt: 0.11D -> 0.11F (#23581)

This commit is contained in:
ndowens 2017-03-20 16:20:37 -05:00 committed by Vladimír Čunát
parent 1c3308e9c1
commit 7a130be3e4

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, curl
, withGui }:
@ -6,14 +6,17 @@ with stdenv.lib;
stdenv.mkDerivation rec{
name = "bitcoin" + (toString (optional (!withGui) "d")) + "-xt-" + version;
version = "0.11D";
version = "0.11F";
src = fetchurl {
url = "https://github.com/bitcoinxt/bitcoinxt/archive/v${version}.tar.gz";
sha256 = "09r2i88wzqaj6mh66l3ngyfkm1a0dhwm5ibalj6y55wbxm9bvd36";
src = fetchFromGitHub {
owner = "bitcoinxt";
repo = "bitcoinxt";
rev = "v${version}";
sha256 = "13s5k9mxmlbf49p5hc546x20y5dslfp6g9hi6nw5yja5bngbwr24";
};
buildInputs = [ pkgconfig autoreconfHook openssl db48 boost zlib
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db48 boost zlib
miniupnpc utillinux protobuf curl ]
++ optionals withGui [ qt4 qrencode ];