guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/12: gnu: dmidecode: Update to 3.3.


From: guix-commits
Subject: 11/12: gnu: dmidecode: Update to 3.3.
Date: Thu, 15 Oct 2020 21:02:37 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 6f19c32b0eeeb6b6647ef75c4c8b9e390d41fcd9
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Oct 15 23:37:28 2020 +0200

    gnu: dmidecode: Update to 3.3.
    
    * gnu/packages/admin.scm (dmidecode): Update to 3.3.
    [arguments]: Restructure.  Add CC to #:make-flags.
---
 gnu/packages/admin.scm | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 1b80eb8..93430dc 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1809,21 +1809,24 @@ network, which causes enabled computers to power on.")
 (define-public dmidecode
   (package
     (name "dmidecode")
-    (version "3.2")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "mirror://savannah/dmidecode/dmidecode-"
-                    version ".tar.xz"))
-              (sha256
-               (base32
-                "1pcfhcgs2ifdjwp7amnsr3lq95pgxpr150bjhdinvl505px0cw07"))))
+    (version "3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://savannah/dmidecode/dmidecode-"
+                           version ".tar.xz"))
+       (sha256
+        (base32 "0m8lzg9rf1qssasiix672bxk5qwms90561g8hfkkhk31h2kkgiw2"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases (delete 'configure))
-       #:tests? #f                                ; no 'check' target
-       #:make-flags (list (string-append "prefix="
-                                         (assoc-ref %outputs "out")))))
+     `(#:tests? #f                                ; no 'check' target
+       #:make-flags
+       (list (string-append "CC=" ,(cc-for-target))
+             (string-append "prefix="
+                            (assoc-ref %outputs "out")))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))                   ; no configure script
     (home-page "https://www.nongnu.org/dmidecode/";)
     (synopsis "Read hardware information from the BIOS")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]