guix-commits
[Top][All Lists]
Advanced

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

13/15: gnu: CMake: Remove input labels.


From: guix-commits
Subject: 13/15: gnu: CMake: Remove input labels.
Date: Mon, 27 Jun 2022 17:50:03 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 6cd881401112b1dae524aeb200283e07a7a26c68
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jun 27 21:38:53 2022 +0200

    gnu: CMake: Remove input labels.
    
    * gnu/packages/cmake.scm (cmake-bootstrap)[inputs]: Remove labels.
    (cmake)[native-inputs]: Likewise.  Use MODIFY-INPUTS.
---
 gnu/packages/cmake.scm | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index b581217685..4fb74a7c51 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -213,17 +213,18 @@ using the CMake build system.")
            (lambda* (#:key (configure-flags '()) #:allow-other-keys)
              (apply invoke "./configure" configure-flags))))))
     (inputs
-     `(("bzip2" ,bzip2)
-       ("curl" ,curl)
-       ("expat" ,expat)
-       ("file" ,file)
-       ("jsoncpp" ,jsoncpp)
-       ("libarchive" ,libarchive)
-       ,@(if (hurd-target?)
-             '()
-             `(("libuv" ,libuv)))       ;not supported on the Hurd
-       ("rhash" ,rhash)
-       ("zlib" ,zlib)))
+     (append
+      (if (hurd-target?)
+          '()
+          (list libuv))                 ;not supported on the Hurd
+      (list bzip2
+            curl
+            expat
+            file
+            jsoncpp
+            libarchive
+            rhash
+            zlib)))
     (native-search-paths
      (list (search-path-specification
             (variable "CMAKE_PREFIX_PATH")
@@ -369,9 +370,8 @@ and workspaces that can be used in the compiler environment 
of your choice.")
                 )))
     ;; Extra inputs required to build the documentation.
     (native-inputs
-     `(,@(package-native-inputs cmake-minimal)
-       ("python-sphinx" ,python-sphinx)
-       ("texinfo" ,texinfo)))
+     (modify-inputs (package-native-inputs cmake-minimal)
+       (append python-sphinx texinfo)))
     (outputs '("out" "doc"))
     (properties (alist-delete 'hidden? (package-properties cmake-minimal)))))
 



reply via email to

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