2015-09-26 14:03:49 +01:00
|
|
|
{ stdenv, fetchgit, autoconf, popt, zlib }:
|
2011-08-25 02:00:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-26 14:01:39 +01:00
|
|
|
name = "dbench-2013-01-01";
|
2011-08-25 02:00:13 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://git.samba.org/sahlberg/dbench.git;
|
2015-09-26 14:01:39 +01:00
|
|
|
rev = "65b19870ed8d25bff14cafa1c30beb33f1fb6597";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "16lcbwmmx8z5i73k3dnf54yffrpx7ql3y9k3cpkss9dcyxb1p83i";
|
2011-08-25 02:00:13 +01:00
|
|
|
};
|
|
|
|
|
2015-09-26 14:03:49 +01:00
|
|
|
buildInputs = [ autoconf popt zlib ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2011-08-25 02:00:13 +01:00
|
|
|
postInstall = ''
|
2015-09-26 14:14:40 +01:00
|
|
|
cp -R loadfiles/ $out/share/
|
2011-08-25 02:00:13 +01:00
|
|
|
'';
|
|
|
|
|
2015-09-26 14:03:49 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Filesystem benchmark tool based on load patterns";
|
|
|
|
homepage = https://dbench.samba.org/;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
2011-08-25 02:00:13 +01:00
|
|
|
}
|