diff options
Diffstat (limited to 'pkgs/os-specific/linux/dmidecode')
-rw-r--r-- | pkgs/os-specific/linux/dmidecode/2.9.nix | 22 | ||||
-rw-r--r-- | pkgs/os-specific/linux/dmidecode/default.nix | 17 |
2 files changed, 17 insertions, 22 deletions
diff --git a/pkgs/os-specific/linux/dmidecode/2.9.nix b/pkgs/os-specific/linux/dmidecode/2.9.nix deleted file mode 100644 index e0b46b35e4e..00000000000 --- a/pkgs/os-specific/linux/dmidecode/2.9.nix +++ /dev/null @@ -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; - }; -} diff --git a/pkgs/os-specific/linux/dmidecode/default.nix b/pkgs/os-specific/linux/dmidecode/default.nix new file mode 100644 index 00000000000..4e9c49e4f58 --- /dev/null +++ b/pkgs/os-specific/linux/dmidecode/default.nix @@ -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"; + }; +} |