nixpkgs-suyu/pkgs/os-specific/linux/dmidecode/default.nix

20 lines
539 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "dmidecode-3.2";
src = fetchurl {
2015-09-13 22:43:24 +02:00
url = "mirror://savannah/dmidecode/${name}.tar.xz";
sha256 = "1pcfhcgs2ifdjwp7amnsr3lq95pgxpr150bjhdinvl505px0cw07";
};
makeFlags = "prefix=$(out)";
2013-12-12 00:32:13 +01:00
meta = with stdenv.lib; {
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";
2018-08-23 17:43:02 +02:00
license = licenses.gpl2Plus;
2013-12-12 00:32:13 +01:00
platforms = platforms.linux;
};
}