cpuminer: update from 2.3.3 to 2.4 and build with -O3 as described in the installation instructions

This commit is contained in:
Pascal Wittmann 2014-07-17 00:15:13 +02:00
parent b969e9340b
commit d518ef91c0

View file

@ -2,15 +2,17 @@
stdenv.mkDerivation rec {
name = "cpuminer-${version}";
version = "2.3.3";
version = "2.4";
src = fetchurl {
url = "mirror://sourceforge/cpuminer/pooler-${name}.tar.gz";
sha256 = "17pjnb1nb8c1akr07hgac2pqd5fcv34f12g7iykbn9hgig5r1sxc";
sha256 = "0yl3ca31ck732f4551svxw6lx1lrjr7rhld5v09v0bgm3z07nnrx";
};
buildInputs = [ curl jansson ];
configureFlags = [ "CFLAGS=-O3" ];
meta = {
homepage = https://github.com/pooler/cpuminer;
description = "CPU miner for Litecoin and Bitcoin";