From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uMpwKqC2EWCGGAAA0tVLHw (envelope-from ) for ; Wed, 27 Jan 2021 18:53:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iPlDJqC2EWCgMQAAB5/wlQ (envelope-from ) for ; Wed, 27 Jan 2021 18:53:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3F2ED9403E7 for ; Wed, 27 Jan 2021 18:53:20 +0000 (UTC) Received: from localhost ([::1]:50072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4pwN-0008G7-1S for larch@yhetil.org; Wed, 27 Jan 2021 13:53:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4pw6-0008Fh-Ik for guix-patches@gnu.org; Wed, 27 Jan 2021 13:53:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4pw6-0000f4-08 for guix-patches@gnu.org; Wed, 27 Jan 2021 13:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4pw5-0008RX-Te for guix-patches@gnu.org; Wed, 27 Jan 2021 13:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46140] [PATCH] gnu: Add libsmbios. Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Jan 2021 18:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46140 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46140@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161177355432419 (code B ref -1); Wed, 27 Jan 2021 18:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2021 18:52:34 +0000 Received: from localhost ([127.0.0.1]:46123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4pve-0008Qp-DH for submit@debbugs.gnu.org; Wed, 27 Jan 2021 13:52:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:44082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4pvc-0008Qg-0k for submit@debbugs.gnu.org; Wed, 27 Jan 2021 13:52:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4pvb-00089d-P5 for guix-patches@gnu.org; Wed, 27 Jan 2021 13:52:31 -0500 Received: from mail.zaclys.net ([178.33.93.72]:46425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4pvZ-0000cV-5d for guix-patches@gnu.org; Wed, 27 Jan 2021 13:52:31 -0500 Received: from localhost.localdomain (lam21-1_migr-78-196-200-185.fbx.proxad.net [78.196.200.185] (may be forged)) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 10RIqFlD057053 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 27 Jan 2021 19:52:26 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 10RIqFlD057053 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1611773546; bh=kInRgcN4yDrU9ekG0m0GQGGUXs38bAP2GFPJWyOCn6k=; h=From:To:Cc:Subject:Date:From; b=o/Sz14nYN9O4nHLA8/5JFGqeSDLbuHPKYR7G029nfY5izH+4DYT/3KbHag1BmiyJM 5H4ePFhWJriuDydUGNoMNdUNG3EVIKJgmpOd5oHEC01T8cVxq1xm1L6ohCCGy3Fx26 IYKhu7WGwrHkJhTzC1Pw8nezmEf7mgXCoTjhskv0= Date: Wed, 27 Jan 2021 19:52:14 +0100 Message-Id: <20210127185214.31034-1-lle-bout@zaclys.net> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.33.93.72; envelope-from=lle-bout@zaclys.net; helo=mail.zaclys.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: =?UTF-8?Q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches From: guix-patches--- via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 1.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b="o/Sz14nY"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3F2ED9403E7 X-Spam-Score: 1.15 X-Migadu-Scanner: scn1.migadu.com X-TUID: OA5pomm8fTYi * gnu/packages/hardware.scm (libsmbios): New variable. --- gnu/packages/hardware.scm | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 3da6759472..6a704f432d 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -29,15 +29,18 @@ #:use-module (gnu packages crypto) #:use-module (gnu packages documentation) #:use-module (gnu packages gcc) + #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages ncurses) #:use-module (gnu packages openldap) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) #:use-module (gnu packages protobuf) + #:use-module (gnu packages python) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -130,6 +133,46 @@ calibrated, and restored when the calibration is applied.") human-readable format and checks if it conforms to the standards.") (license license:expat)))) +(define-public libsmbios + (package + (name "libsmbios") + (version "2.4.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url (string-append "https://github.com/dell/" name)) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0krwwydyvb9224r884y1mlmzyxhlfrcqw73vi1j8787rl0gl5a2i")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gettext" ,gettext-minimal) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config) + ("perl" ,perl) + ("python" ,python))) + (inputs + `(("libxml2" ,libxml2))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'bootstrap + (lambda _ (invoke "autoreconf" "-vfi")))))) + (synopsis "Library for interacting with Dell SMBIOS tables") + (description "libsmbios provides a library to interface with the SMBIOS +tables. It also provides extensions for proprietary methods of interfacing +with Dell specific SMBIOS tables.") + (home-page "https://github.com/dell/libsmbios") + (license (list + (license:non-copyleft "file://COPYING-OSL" + "Open Software License version 2.1") + license:gpl2+ license:bsd-3 license:boost1.0)))) + ;; Distinct from memtest86, which is obsolete. (define-public memtest86+ (package -- 2.30.0