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

20 lines
539 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2017-06-07 07:14:16 +02:00
name = "dmidecode-3.1";
src = fetchurl {
2015-09-13 22:43:24 +02:00
url = "mirror://savannah/dmidecode/${name}.tar.xz";
2017-06-07 07:14:16 +02:00
sha256 = "1h0sg0lxa15nzf8s7884p6q7p6md9idm0c79wyqmk32l4ndwwrnp";
};
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;
};
}