2022-07-14 12:49:19 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-09-26 12:46:18 +00:00
|
|
|
pname = "dmidecode";
|
2023-03-24 00:07:29 +00:00
|
|
|
version = "3.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-09-26 12:46:18 +00:00
|
|
|
url = "mirror://savannah/dmidecode/dmidecode-${version}.tar.xz";
|
2023-03-24 00:07:29 +00:00
|
|
|
sha256 = "sha256-eddnNe6OJRluKnIpZM+Wg/WglYFQNTeISyVrATicwHM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-10-08 15:17:17 +00:00
|
|
|
makeFlags = [
|
|
|
|
"prefix=$(out)"
|
|
|
|
"CC=${stdenv.cc.targetPrefix}cc"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.nongnu.org/dmidecode/";
|
|
|
|
description = "A tool that reads information about your system's hardware from the BIOS according to the SMBIOS/DMI standard";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ delroth ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|