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

19 lines
506 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2015-09-13 22:43:24 +02:00
name = "dmidecode-3.0";
src = fetchurl {
2015-09-13 22:43:24 +02:00
url = "mirror://savannah/dmidecode/${name}.tar.xz";
sha256 = "0iby0xfk5x3cdr0x0gxj5888jjyjhafvaq0l79civ73jjfqmphvy";
};
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";
2013-12-12 00:32:13 +01:00
platforms = platforms.linux;
};
}