gnu: capnproto: Update to 1.2.0.

* gnu/packages/serialization.scm (capnproto): Update to 1.2.0.
* changed: gnu to cmake build system to get a test to pass (unsure why).
* moved: /tmp dir patch to after 'unpack phase.

Change-Id: I6a27587f8126eeb0cfeb7b9f26dc436bd66b5f92
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Trevor Arjeski 2025-09-23 15:18:09 +03:00 committed by Andreas Enge
parent b97049b29c
commit 8c7d8cbd2f
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -660,7 +660,7 @@ This package also provides @samp{kdlpp}, a C++20 wrapper around @samp{ckdl}.")
(define-public capnproto (define-public capnproto
(package (package
(name "capnproto") (name "capnproto")
(version "1.0") (version "1.2.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -668,13 +668,13 @@ This package also provides @samp{kdlpp}, a C++20 wrapper around @samp{ckdl}.")
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"03f1862ljdshg7d0rg3j7jzgm3ip55kzd2y91q7p0racax3hxx6i")) "1vs2zpk4l55hb4lq4kldbwdqcjnwm1jblhcaqxmii9dxrd7f807d"))
(patches (search-patches "capnproto-fix-test.patch")))) (patches (search-patches "capnproto-fix-test.patch"))))
(build-system gnu-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'check 'use-tmp-for-temporary-files (add-after 'unpack 'use-tmp-for-temporary-files
(lambda _ (lambda _
;; Use /tmp for temporary files, as the default /var/tmp directory ;; Use /tmp for temporary files, as the default /var/tmp directory
;; doesn't exist. ;; doesn't exist.