cpuminer: update from 2.3.3 to 2.4 and build with -O3 as described in the installation instructions
This commit is contained in:
parent
b969e9340b
commit
d518ef91c0
@ -2,15 +2,17 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cpuminer-${version}";
|
name = "cpuminer-${version}";
|
||||||
version = "2.3.3";
|
version = "2.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/cpuminer/pooler-${name}.tar.gz";
|
url = "mirror://sourceforge/cpuminer/pooler-${name}.tar.gz";
|
||||||
sha256 = "17pjnb1nb8c1akr07hgac2pqd5fcv34f12g7iykbn9hgig5r1sxc";
|
sha256 = "0yl3ca31ck732f4551svxw6lx1lrjr7rhld5v09v0bgm3z07nnrx";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ curl jansson ];
|
buildInputs = [ curl jansson ];
|
||||||
|
|
||||||
|
configureFlags = [ "CFLAGS=-O3" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/pooler/cpuminer;
|
homepage = https://github.com/pooler/cpuminer;
|
||||||
description = "CPU miner for Litecoin and Bitcoin";
|
description = "CPU miner for Litecoin and Bitcoin";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user