nixpkgs/pkgs/development/tools/misc/dbench/default.nix
Tuomas Tynkkynen e61022ac55 dbench: Disable on Darwin
Assumes Linux versions of xattr system calls. Has never built
successfully.

https://hydra.nixos.org/build/60443210
2017-09-11 16:35:05 +03:00

30 lines
698 B
Nix

{ stdenv, fetchgit, autoconf, popt, zlib }:
stdenv.mkDerivation rec {
name = "dbench-2013-01-01";
src = fetchgit {
url = git://git.samba.org/sahlberg/dbench.git;
rev = "65b19870ed8d25bff14cafa1c30beb33f1fb6597";
sha256 = "16lcbwmmx8z5i73k3dnf54yffrpx7ql3y9k3cpkss9dcyxb1p83i";
};
buildInputs = [ autoconf popt zlib ];
preConfigure = ''
./autogen.sh
'';
postInstall = ''
cp -R loadfiles/ $out/share/
'';
meta = with stdenv.lib; {
description = "Filesystem benchmark tool based on load patterns";
homepage = https://dbench.samba.org/;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}