1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "dmidecode-3.2";
5
6 src = fetchurl {
7 url = "mirror://savannah/dmidecode/${name}.tar.xz";
8 sha256 = "1pcfhcgs2ifdjwp7amnsr3lq95pgxpr150bjhdinvl505px0cw07";
9 };
10
11 makeFlags = "prefix=$(out)";
12
13 meta = with stdenv.lib; {
14 homepage = https://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}