litecoin: 0.10.2.2 -> 0.13.2.1

This commit is contained in:
ndowens 2017-03-07 14:47:59 -06:00 committed by Vincent Laporte
parent b34b4674d2
commit 65b8a97ab3
1 changed files with 12 additions and 9 deletions

View File

@ -1,28 +1,31 @@
{ stdenv, fetchurl { stdenv, fetchFromGitHub
, pkgconfig, autoreconfHook , pkgconfig, autoreconfHook
, openssl, db48, boost, zlib, miniupnpc , openssl, db48, boost, zlib, miniupnpc
, glib, protobuf, utillinux, qt4, qrencode , glib, protobuf, utillinux, qt4, qrencode
, withGui }: , withGui, libevent }:
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "litecoin" + (toString (optional (!withGui) "d")) + "-" + version; name = "litecoin" + (toString (optional (!withGui) "d")) + "-" + version;
version = "0.10.2.2"; version = "0.13.2.1";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz"; owner = "litecoin-project";
sha256 = "1p1h2654b7f2lyrmihcjmpmx6sjpkgsifcm2ixxb2g9jh6qq8b4m"; repo = "litecoin";
rev = "v${version}";
sha256 = "0hml1crml6rx7im8dfbig3znmvnk2di61ybbhrhpad5mj0yrih30";
}; };
buildInputs = [ pkgconfig autoreconfHook openssl nativeBuildInputs = [ pkgconfig autoreconfHook ];
openssl db48 boost zlib miniupnpc glib protobuf utillinux ] buildInputs = [ openssl db48 boost zlib
miniupnpc glib protobuf utillinux libevent ]
++ optionals withGui [ qt4 qrencode ]; ++ optionals withGui [ qt4 qrencode ];
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ] configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
++ optionals withGui [ "--with-gui=qt4" ]; ++ optionals withGui [ "--with-gui=qt4" ];
meta = with stdenv.lib; { meta = {
description = "A lite version of Bitcoin using scrypt as a proof-of-work algorithm"; description = "A lite version of Bitcoin using scrypt as a proof-of-work algorithm";
longDescription= '' longDescription= ''
Litecoin is a peer-to-peer Internet currency that enables instant payments Litecoin is a peer-to-peer Internet currency that enables instant payments