summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2025-03-19 23:23:59 -0400
committerJohn Kehayias <john.kehayias@protonmail.com>2025-06-08 15:35:15 -0400
commite6ea64b7b9a1487245724d0db5b2d0710c5a74ff (patch)
tree8d4ec308e770e19d78cf121ba1db4d5ab04ac9e8
parenteb37081c1f15deb56b3eb3e614521efea8506e41 (diff)
gnu: Add cmake-minimal-3.30.
* gnu/packages/cmake.scm (cmake-minimal-3.30): New variable. Change-Id: I8cff557e1510ddd183955795ed4119fef50b5385
-rw-r--r--gnu/packages/cmake.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 2ce1619bfb..e2e8170232 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -439,6 +439,31 @@ and workspaces that can be used in the compiler environment of your choice.")
(prepend (module-ref (resolve-interface '(gnu packages debug))
'cppdap))))))
+(define-public cmake-minimal-3.30
+ (package
+ (inherit cmake-minimal)
+ (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"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments cmake-minimal)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (delete 'delete-help-documentation)))))
+ (native-inputs
+ (modify-inputs (package-native-inputs cmake-minimal)
+ ;; Avoid circular dependency with (gnu packages debug). Note: cppdap
+ ;; is built with cmake, so when the default cmake-minimal 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
(package
(inherit cmake-minimal)