From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: [PATCH] gnu: Add dmidecode. Date: Sun, 31 Jul 2016 14:36:50 -0400 Message-ID: <87poptbqnx.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTvbw-00076k-VN for guix-devel@gnu.org; Sun, 31 Jul 2016 14:37:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTvbt-0000vA-31 for guix-devel@gnu.org; Sun, 31 Jul 2016 14:37:16 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:55048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTvbs-0000ux-OV for guix-devel@gnu.org; Sun, 31 Jul 2016 14:37:13 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain A package for those who like to roam around the lower levels of their machines. As soon as this package is verified to build successfully and reproducibly on another user's machine, I can push it to the repos. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-dmidecode.patch Content-Transfer-Encoding: quoted-printable From=2037c3cc1021671d93dca2c34c4d3b392173b84ef1 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Sun, 31 Jul 2016 13:59:59 -0400 Subject: [PATCH] gnu: Add dmidecode. * gnu/packages/linux.scm (dmidecode): New variable. =2D-- gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index fad5a63..dc9e649 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -14,6 +14,7 @@ ;;; Copyright =C2=A9 2016 Nicolas Goaziou ;;; Copyright =C2=A9 2016 Ricardo Wurmus ;;; Copyright =C2=A9 2016 David Craven +;;; Copyright =C2=A9 2016 Kei Kebreau ;;; ;;; This file is part of GNU Guix. ;;; @@ -2822,3 +2823,37 @@ as used on certified hardware security devices.") (license:non-copyleft "file://nist/packtest.c") license:public-domain ; nist/dfft.c license:gpl3+)))) ; everything else + +(define-public dmidecode + (package + (name "dmidecode") + (version "3.0") + (source (origin + (method url-fetch) + (uri (string-append "http://download.savannah.gnu.org/releas= es/" + name "/" name "-" version ".tar.xz")) + (sha256 + (base32 + "0iby0xfk5x3cdr0x0gxj5888jjyjhafvaq0l79civ73jjfqmphvy")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no check target + #:phases (modify-phases %standard-phases + (delete 'configure) ; no configure script + (add-before 'install 'patch-prefix-directory + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "Makefile" + (("prefix =3D /usr/local") + (string-append "prefix =3D " %output))))))))) + (home-page "http://www.nongnu.org/dmidecode/") + (synopsis "SMBIOS/DMI table decoder") + (description + "Dmidecode reports information about your system's hardware as descri= bed in +your system BIOS according to the SMBIOS/DMI standard. This information +typically includes system manufacturer, model name, serial number, BIOS ve= rsion, +asset tag as well as a lot of other details of varying level of interest a= nd +reliability depending on the manufacturer. This will often include usage +status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory +module slots, and the list of I/O ports (e.g. serial, parallel, USB).") + (license license:gpl2+))) =2D-=20 2.9.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXnkVDAAoJEOal7jwZRnoNgkYQAI8mMeEXd9mkD1x3OnSW+Yg5 Zh30dCdxrxh+ndRAcBF5I6PO4XHOHYFEPxLdl2AypZPTZ4YVQCVMKEqpwVhpHa5b A1aMGSIWKYeLV8zVIIzYOxFjAI7qCHlmSA5VWIvx5EmypJxMG/8gtup5oFN62Yq8 WTyoe3h++Z/lDlZJ345C1Scq7mAuP6ihMXQx9QYh1A0Hnb8efIqLIAsqDL5uBZEb p163+3ntA+xomIoFrqAbFA7p+RppEwY3R/klDmqFBfKIUpq1k4o7w46L7DwyYAsa vcqjRWK2v1GaNNjB2OUQNikas1Ulx0qNZ0zTFGOssyNHfCsj7aXhXYYKizVOGDGq KfQGJW3oG1uutHMYwoRDFtNnxMQ3wsuuR63mY2B884bVTg3K80962HovPW92MOEh QM8u8GxRIBPL9yYVyatm3EthxQE4j1ZaN6+QG7qkHLG/I36EqWh+vjNHzZiU+o3L jujTbgteZYYPTckZjLsFHse6btUxesrVybM1tFIPWbLgHO8JoOMrl1d3GPzTpY4H EUD4E/MKlJE7RIvaIAz4a+3hJWTFwuUYyfz4NVDvzT9mPbyxHJkondCQtRjhjy/A /3nb47UES928EwjDLhp7Ir2CGp6kOhB4ICCHcqlG7OY65dxhx2WCwziKrJT7vQDB UnVZ5mm5Z02jwU37FSU3 =WrU3 -----END PGP SIGNATURE----- --==-=-=--