1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "dmidecode-3.0";
5
6 src = fetchurl {
7 url = "mirror://savannah/dmidecode/${name}.tar.xz";
8 sha256 = "0iby0xfk5x3cdr0x0gxj5888jjyjhafvaq0l79civ73jjfqmphvy";
9 };
10
11 makeFlags = "prefix=$(out)";
12
13 meta = with stdenv.lib; {
14 homepage = http://www.nongnu.org/dmidecode/;
15 description = "A tool that reads information about your system's hardware from the BIOS according to the SMBIOS/DMI standard";
16 platforms = platforms.linux;
17 };
18}