summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cmake.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index dbbcbfaebe5..4a8526f469e 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -362,6 +362,44 @@ and workspaces that can be used in the compiler environment of your choice.")
362 cmake-minimal-cross 362 cmake-minimal-cross
363 cmake-bootstrap))))) 363 cmake-bootstrap)))))
364 364
365(define-public cmake-minimal-4
366 (package
367 (inherit cmake-minimal)
368 (version "4.3.3")
369 (source
370 (origin
371 (inherit (package-source cmake-minimal))
372 (method url-fetch)
373 (uri (string-append "https://cmake.org/files/v"
374 (version-major+minor version)
375 "/cmake-" version ".tar.gz"))
376 (snippet
377 (match (origin-snippet (package-source cmake-minimal))
378 (('begin ('define 'preserved-files ('quote x))
379 rest ...)
380 `(begin
381 (define preserved-files
382 ',(cons*
383 "Utilities/cmelf"
384 "Utilities/cmlibarchive/libarchive/archive_parse_date.c"
385 x))
386 ,@rest))))
387 (sha256
388 (base32
389 "11dvr50smd28vysw7a5k6pjanfrqjql96nghnrxqgwpd8ixbp96b"))))
390 (arguments
391 (substitute-keyword-arguments arguments
392 ((#:phases phases '%standard-phases)
393 #~(modify-phases #$phases
394 (replace 'delete-help-documentation
395 (lambda _
396 (delete-file-recursively
397 (string-append #$output
398 "/share/cmake-"
399 #$(version-major+minor
400 (package-version this-package))
401 "/Help"))))))))))
402
365;;; The "user-facing" CMake, now with manuals and HTML documentation. 403;;; The "user-facing" CMake, now with manuals and HTML documentation.
366(define-public cmake 404(define-public cmake
367 (package 405 (package