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

19 lines
506 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2017-06-07 08:14:16 +03:00
name = "dmidecode-3.1";
src = fetchurl {
2015-09-13 23:43:24 +03:00
url = "mirror://savannah/dmidecode/${name}.tar.xz";
2017-06-07 08:14:16 +03:00
sha256 = "1h0sg0lxa15nzf8s7884p6q7p6md9idm0c79wyqmk32l4ndwwrnp";
};
makeFlags = "prefix=$(out)";
2013-12-12 03:32:13 +04: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 03:32:13 +04:00
platforms = platforms.linux;
};
}