mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 12:14:40 +00:00
add dbench
svn path=/nixpkgs/trunk/; revision=28806
This commit is contained in:
parent
5b3aa1f8ec
commit
4170da1c96
22
pkgs/development/tools/misc/dbench/default.nix
Normal file
22
pkgs/development/tools/misc/dbench/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{stdenv, fetchgit, autoconf, popt, zlib}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "dbench-20101121";
|
||||||
|
|
||||||
|
buildInputs = [autoconf popt zlib];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
./autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = git://git.samba.org/sahlberg/dbench.git;
|
||||||
|
rev = "8b5143bcc0f4409553392fdf12fd21c95a075fae";
|
||||||
|
sha256 = "607a62b7ff2e9b1393980777e0ba239215dd8145bc1a34649bcbe2b1e567006d";
|
||||||
|
};
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
cp -R loadfiles/* $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user