me
/
guix
Archived
1
0
Fork 0

gnu: sequoia: Update to 1.16.0.

* gnu/packages/sequoia.scm (sequoia): Update to 1.16.0.
[outputs]: Remove python.
[inputs]: Remove glibc, libsequoia, libsequoia:python. Add sequoia-wot.
[arguments]: Adjust how package is built.
Efraim Flashner 2023-05-22 17:54:53 +03:00
parent c15bda5771
commit d5019a3754
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 23 additions and 19 deletions

View File

@ -564,39 +564,43 @@ This Guix package is built to use the nettle cryptographic library.")
This Guix package is built to use the nettle cryptographic library."))) This Guix package is built to use the nettle cryptographic library.")))
;;
(define-public sequoia (define-public sequoia
(package (package
(name "sequoia") (name "sequoia")
(version "1.6.0") (version "1.16.0")
(source #f) (source #f)
(build-system trivial-build-system) (build-system trivial-build-system)
(outputs '("out" "python"))
(inputs
(list glibc ;; for ldconfig in make-dynamic-linker-cache
libsequoia
`(,libsequoia "python")
sequoia-sq
sequoia-sqv))
(arguments (arguments
(list (list
#:modules '((guix build utils) (guix build gnu-build-system) #:modules '((guix build utils)
(guix build gremlin) (guix elf)) (guix build union)
(guix build gnu-build-system)
(guix build gremlin)
(guix elf))
#:builder #:builder
#~(begin #~(begin
(use-modules (guix build utils) (guix build gnu-build-system)) (use-modules (guix build utils)
(guix build union)
(guix build gnu-build-system)
(ice-9 match))
(let ((make-dynamic-linker-cache (let ((make-dynamic-linker-cache
(assoc-ref %standard-phases 'make-dynamic-linker-cache)) (assoc-ref %standard-phases 'make-dynamic-linker-cache))
(ld.so.cache (ld.so.cache
(string-append #$output "/etc/ld.so.cache"))) (string-append #$output "/etc/ld.so.cache")))
(copy-recursively #$libsequoia #$output) (match %build-inputs
(copy-recursively #$sequoia-sq #$output) (((names . directories) ...)
(union-build #$output directories)))
(delete-file ld.so.cache) (delete-file ld.so.cache)
(copy-recursively #$sequoia-sqv #$output) (setenv "PATH"
(delete-file ld.so.cache) (string-append (getenv "PATH") ":" #$glibc "/sbin"))
(copy-recursively #$libsequoia:python #$output:python) (make-dynamic-linker-cache #:outputs %outputs)))))
(setenv "PATH" (inputs
(string-append (getenv "PATH") ":" #$glibc "/sbin")) (list ;glibc ;; for ldconfig in make-dynamic-linker-cache
(make-dynamic-linker-cache #:outputs %outputs))))) sequoia-sq
sequoia-sqv
sequoia-wot))
(home-page "https://sequoia-pgp.org") (home-page "https://sequoia-pgp.org")
(synopsis "New OpenPGP implementation (meta-package)") (synopsis "New OpenPGP implementation (meta-package)")
(description "Sequoia is a new OpenPGP implementation, written in Rust, (description "Sequoia is a new OpenPGP implementation, written in Rust,