cpuminer-multi: update 20140619 to 20140723

This commit is contained in:
Emery Hemingway 2014-09-22 12:28:19 -04:00
parent 9f15333589
commit be73d6c2f6

View File

@ -1,9 +1,9 @@
{ stdenv, fetchgit, curl, jansson, autoconf, automake, openssl
{ stdenv, fetchgit, curl, jansson, autoconf, automake
, aesni ? true }:
let
rev = "4230012da5d1cc491976c6f5e45da36db6d9f576";
date = "20140619";
rev = "977dad27e18627e5b723800f5f4201e385fe0d2e";
date = "20140723";
in
stdenv.mkDerivation rec {
name = "cpuminer-multi-${date}-${stdenv.lib.strings.substring 0 7 rev}";
@ -11,16 +11,16 @@ stdenv.mkDerivation rec {
src = fetchgit {
inherit rev;
url = https://github.com/wolf9466/cpuminer-multi.git;
sha256 = "c19a5dd1bfdbbaec3729f61248e858a5d8701424fffe67fdabf8179ced9c110b";
sha256 = "9c438c6cd9f40273822f3d3103a370e43e8a40368695ed5e01ae87297dce7843";
};
buildInputs = [ autoconf automake curl jansson openssl ];
buildInputs = [ autoconf automake curl jansson ];
preConfigure = ''
./autogen.sh
'';
configureFlags = if aesni then [ "--disable-aes-ni" ] else [ ];
configureFlags = [ (if aesni then "--enable-aes-ni" else "--disable-aes-ni") ];
meta = with stdenv.lib; {
description = "Multi-algo CPUMiner";