at 23.11-beta 24 lines 664 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "dmidecode"; 5 version = "3.5"; 6 7 src = fetchurl { 8 url = "mirror://savannah/dmidecode/dmidecode-${version}.tar.xz"; 9 sha256 = "sha256-eddnNe6OJRluKnIpZM+Wg/WglYFQNTeISyVrATicwHM="; 10 }; 11 12 makeFlags = [ 13 "prefix=$(out)" 14 "CC=${stdenv.cc.targetPrefix}cc" 15 ]; 16 17 meta = with lib; { 18 homepage = "https://www.nongnu.org/dmidecode/"; 19 description = "A tool that reads information about your system's hardware from the BIOS according to the SMBIOS/DMI standard"; 20 license = licenses.gpl2Plus; 21 platforms = platforms.linux; 22 maintainers = with maintainers; [ delroth ]; 23 }; 24}