2008-01-08 01:18:20 +01:00
|
|
|
args : with args;
|
2008-01-18 13:36:56 +01:00
|
|
|
let localDefs = builderDefs {
|
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";
|
|
|
|
} null; /* null is a terminator for sumArgs */
|
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
|
|
|
};
|
|
|
|
}
|