gnu: CMake: Remove input labels.

* gnu/packages/cmake.scm (cmake-bootstrap)[inputs]: Remove labels.
(cmake)[native-inputs]: Likewise.  Use MODIFY-INPUTS.
This commit is contained in:
Marius Bakke 2022-06-27 21:38:53 +02:00
parent 02f7c56ec4
commit 6cd8814011
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -213,17 +213,18 @@ using the CMake build system.")
(lambda* (#:key (configure-flags '()) #:allow-other-keys) (lambda* (#:key (configure-flags '()) #:allow-other-keys)
(apply invoke "./configure" configure-flags)))))) (apply invoke "./configure" configure-flags))))))
(inputs (inputs
`(("bzip2" ,bzip2) (append
("curl" ,curl) (if (hurd-target?)
("expat" ,expat) '()
("file" ,file) (list libuv)) ;not supported on the Hurd
("jsoncpp" ,jsoncpp) (list bzip2
("libarchive" ,libarchive) curl
,@(if (hurd-target?) expat
'() file
`(("libuv" ,libuv))) ;not supported on the Hurd jsoncpp
("rhash" ,rhash) libarchive
("zlib" ,zlib))) rhash
zlib)))
(native-search-paths (native-search-paths
(list (search-path-specification (list (search-path-specification
(variable "CMAKE_PREFIX_PATH") (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. ;; Extra inputs required to build the documentation.
(native-inputs (native-inputs
`(,@(package-native-inputs cmake-minimal) (modify-inputs (package-native-inputs cmake-minimal)
("python-sphinx" ,python-sphinx) (append python-sphinx texinfo)))
("texinfo" ,texinfo)))
(outputs '("out" "doc")) (outputs '("out" "doc"))
(properties (alist-delete 'hidden? (package-properties cmake-minimal))))) (properties (alist-delete 'hidden? (package-properties cmake-minimal)))))