2011-06-07 17:56:50 +02:00
|
|
|
x@{builderDefsPackage
|
|
|
|
, ...}:
|
|
|
|
builderDefsPackage
|
|
|
|
(a :
|
|
|
|
let
|
|
|
|
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
|
|
[];
|
|
|
|
|
|
|
|
buildInputs = map (n: builtins.getAttr n x)
|
|
|
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
|
|
|
sourceInfo = rec {
|
|
|
|
baseName="ioping";
|
2014-09-02 11:03:33 +02:00
|
|
|
version = "0.8";
|
2011-06-07 17:56:50 +02:00
|
|
|
name="${baseName}-${version}";
|
|
|
|
url="http://ioping.googlecode.com/files/${name}.tar.gz";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = a.fetchurl {
|
|
|
|
url = sourceInfo.url;
|
2014-09-02 11:03:33 +02:00
|
|
|
sha256 = "0j7yal61nby1lkg9wnr6lxfljbd7wl3n0z8khqwvc9lf57bxngz2";
|
2011-06-07 17:56:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit (sourceInfo) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doMakeInstall"];
|
|
|
|
makeFlags = [
|
|
|
|
''PREFIX="$out"''
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Filesystem IO delay time measurer";
|
|
|
|
maintainers = with a.lib.maintainers;
|
|
|
|
[
|
|
|
|
raskin
|
|
|
|
];
|
|
|
|
platforms = with a.lib.platforms;
|
|
|
|
linux;
|
|
|
|
license = a.lib.licenses.gpl3Plus;
|
2014-09-02 11:03:33 +02:00
|
|
|
downloadPage = "http://code.google.com/p/ioping/downloads/list";
|
|
|
|
inherit version;
|
2011-06-07 17:56:50 +02:00
|
|
|
};
|
|
|
|
}) x
|
|
|
|
|