mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add cmake-3.30.
Add newer version of cmake for packages that will need it (for instance, new features like finding EGL2), without yet updating the default and rebuilding all cmake packages. * gnu/packages/cmake.scm (cmake-3.30): New variable. Change-Id: I345e9cab7a79624ff0012f493c18426bd843e0d6
This commit is contained in:
parent
83698b6fa0
commit
2db055a4e5
1 changed files with 21 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
||||||
;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
|
;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
|
||||||
;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
|
||||||
|
;;; Copyright © 2024 John Kehayias <john.kehayias@protonmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -409,6 +410,26 @@ and workspaces that can be used in the compiler environment of your choice.")
|
||||||
texinfo)))
|
texinfo)))
|
||||||
(properties (alist-delete 'hidden? (package-properties cmake-minimal)))))
|
(properties (alist-delete 'hidden? (package-properties cmake-minimal)))))
|
||||||
|
|
||||||
|
(define-public cmake-3.30
|
||||||
|
(package
|
||||||
|
(inherit cmake)
|
||||||
|
(version "3.30.3")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://cmake.org/files/v"
|
||||||
|
(version-major+minor version)
|
||||||
|
"/cmake-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1r48zym4dy4mvwzk704zh1vx9gb4a910f424ypvis28mcxdy2pbd"))))
|
||||||
|
(native-inputs
|
||||||
|
(modify-inputs (package-native-inputs cmake)
|
||||||
|
;; Avoid circular dependency with (gnu packages debug). Note: cppdap
|
||||||
|
;; is built with cmake, so when the default cmake is updated to this
|
||||||
|
;; version this circular dependency will need to be worked around.
|
||||||
|
(prepend (module-ref (resolve-interface '(gnu packages debug))
|
||||||
|
'cppdap))))))
|
||||||
|
|
||||||
(define-public cmake-minimal-cross
|
(define-public cmake-minimal-cross
|
||||||
(package
|
(package
|
||||||
(inherit cmake-minimal)
|
(inherit cmake-minimal)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue