2008-01-08 01:18:20 +01:00
|
|
|
args : with args;
|
2008-11-04 22:24:10 +01:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2008-01-08 01:18:20 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.9.tar.bz2;
|
|
|
|
sha256 = "05g0ln400fhqjspg9h4x0a1dvmwiyjq5rk9q9kimxvywbg1b53l8";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [];
|
|
|
|
configureFlags = [];
|
|
|
|
makeFlags = "prefix=\$out";
|
2008-08-19 07:54:09 +02:00
|
|
|
};
|
2008-01-18 13:36:56 +01:00
|
|
|
in with localDefs;
|
2008-01-08 01:18:20 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dmidecode-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-18 13:36:56 +01:00
|
|
|
(textClosure localDefs [ doMakeInstall doForceShare doPropagate]);
|
2008-01-08 01:18:20 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Tool to decode Desktop Management Interface and SBIOS data.
|
|
|
|
";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2008-01-08 01:18:20 +01:00
|
|
|
};
|
|
|
|
}
|