1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "dmidecode-3.1";
5
6 src = fetchurl {
7 url = "mirror://savannah/dmidecode/${name}.tar.xz";
8 sha256 = "1h0sg0lxa15nzf8s7884p6q7p6md9idm0c79wyqmk32l4ndwwrnp";
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 license = licenses.gpl2Plus;
17 platforms = platforms.linux;
18 };
19}