1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

* dmidecode 2.10.

svn path=/nixpkgs/trunk/; revision=16678
This commit is contained in:
Eelco Dolstra 2009-08-11 20:43:39 +00:00
parent 775f5b05fc
commit 6e4a53de74
3 changed files with 19 additions and 24 deletions

View file

@ -1,22 +0,0 @@
args : with args;
let localDefs = builderDefs.passthru.function {
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";
};
in with localDefs;
stdenv.mkDerivation rec {
name = "dmidecode-"+version;
builder = writeScript (name + "-builder")
(textClosure localDefs [ doMakeInstall doForceShare doPropagate]);
meta = {
description = "Tool to decode Desktop Management Interface and SBIOS data";
inherit src;
};
}

View file

@ -0,0 +1,17 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "dmidecode-2.10";
src = fetchurl {
url = "http://www.very-clever.com/download/nongnu/dmidecode/${name}.tar.bz2";
sha256 = "1h72r5scrpvgw60hif5msjg6vw2x0jd6z094lhbh6cjk6gls6x2d";
};
makeFlags = "prefix=$(out)";
meta = {
homepage = http://www.nongnu.org/dmidecode/;
description = "A tool that reads information about your system's hardware from the BIOS according to the SMBIOS/DMI standard";
};
}

View file

@ -4715,8 +4715,8 @@ let
inherit fetchurl stdenv;
};
dmidecode = composedArgsAndFun (selectVersion ../os-specific/linux/dmidecode "2.9") {
inherit fetchurl stdenv builderDefs;
dmidecode = import ../os-specific/linux/dmidecode {
inherit fetchurl stdenv;
};
dietlibc = import ../os-specific/linux/dietlibc {