Skip to content

Commit

Permalink
litecoin: 0.10.2.2 -> 0.13.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ndowens authored and vbgl committed Mar 10, 2017
1 parent b34b467 commit 65b8a97
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions pkgs/applications/altcoins/litecoin.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
{ stdenv, fetchurl
{ stdenv, fetchFromGitHub
, pkgconfig, autoreconfHook
, openssl, db48, boost, zlib, miniupnpc
, glib, protobuf, utillinux, qt4, qrencode
, withGui }:
, withGui, libevent }:

with stdenv.lib;
stdenv.mkDerivation rec {

name = "litecoin" + (toString (optional (!withGui) "d")) + "-" + version;
version = "0.10.2.2";
version = "0.13.2.1";

src = fetchurl {
url = "https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz";
sha256 = "1p1h2654b7f2lyrmihcjmpmx6sjpkgsifcm2ixxb2g9jh6qq8b4m";
src = fetchFromGitHub {
owner = "litecoin-project";
repo = "litecoin";
rev = "v${version}";
sha256 = "0hml1crml6rx7im8dfbig3znmvnk2di61ybbhrhpad5mj0yrih30";
};

buildInputs = [ pkgconfig autoreconfHook openssl
openssl db48 boost zlib miniupnpc glib protobuf utillinux ]
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db48 boost zlib
miniupnpc glib protobuf utillinux libevent ]
++ optionals withGui [ qt4 qrencode ];

configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
++ optionals withGui [ "--with-gui=qt4" ];

meta = with stdenv.lib; {
meta = {
description = "A lite version of Bitcoin using scrypt as a proof-of-work algorithm";
longDescription= ''
Litecoin is a peer-to-peer Internet currency that enables instant payments
Expand Down

0 comments on commit 65b8a97

Please sign in to comment.