forked from mirrors/nixpkgs
8e7ce3de00
This fixes the build (the old version has wrong hash now).
23 lines
444 B
Nix
23 lines
444 B
Nix
{stdenv, fetchgit, autoconf, popt, zlib}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "dbench-2013-01-01";
|
|
|
|
buildInputs = [autoconf popt zlib];
|
|
|
|
preConfigure = ''
|
|
./autogen.sh
|
|
'';
|
|
|
|
src = fetchgit {
|
|
url = git://git.samba.org/sahlberg/dbench.git;
|
|
rev = "65b19870ed8d25bff14cafa1c30beb33f1fb6597";
|
|
sha256 = "0hzn7xr58y7f01hp02d0ciy2n5awskypfbdc56ff1vkr1b12i2p9";
|
|
};
|
|
|
|
postInstall = ''
|
|
cp -R loadfiles/* $out/share
|
|
'';
|
|
|
|
}
|