aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/misc/dbench
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2015-09-26 15:03:49 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2015-09-26 15:08:50 +0200
commitdc0627864152705866febecba1a5351fa186db51 (patch)
treea723630a6e57df8234c8b3e6c64c45cc1dfad06d /pkgs/development/tools/misc/dbench
parent8e7ce3de0036dade64c210d9e32d417cb60786d8 (diff)
dbench: expression clean-up
Whitespace, ordering, add meta attributes.
Diffstat (limited to 'pkgs/development/tools/misc/dbench')
-rw-r--r--pkgs/development/tools/misc/dbench/default.nix21
1 files changed, 14 insertions, 7 deletions
diff --git a/pkgs/development/tools/misc/dbench/default.nix b/pkgs/development/tools/misc/dbench/default.nix
index de368aa0d91..ce3511f0f7e 100644
--- a/pkgs/development/tools/misc/dbench/default.nix
+++ b/pkgs/development/tools/misc/dbench/default.nix
@@ -1,22 +1,29 @@
-{stdenv, fetchgit, autoconf, popt, zlib}:
+{ 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";
};
+ 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.all;
+ maintainers = [ maintainers.bjornfor ];
+ };
}