2011-08-25 02:00:13 +01:00
|
|
|
{stdenv, fetchgit, autoconf, popt, zlib}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-26 14:01:39 +01:00
|
|
|
name = "dbench-2013-01-01";
|
2011-08-25 02:00:13 +01:00
|
|
|
|
|
|
|
buildInputs = [autoconf popt zlib];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://git.samba.org/sahlberg/dbench.git;
|
2015-09-26 14:01:39 +01:00
|
|
|
rev = "65b19870ed8d25bff14cafa1c30beb33f1fb6597";
|
|
|
|
sha256 = "0hzn7xr58y7f01hp02d0ciy2n5awskypfbdc56ff1vkr1b12i2p9";
|
2011-08-25 02:00:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
cp -R loadfiles/* $out/share
|
|
|
|
'';
|
|
|
|
|
|
|
|
}
|