me
/
guix
Archived
1
0
Fork 0

gnu: gmime: Use G-expressions.

* gnu/packages/mail.scm (gmime)[arguments]:
Rewrite as G-expressions.
master
Tobias Geerinckx-Rice 2023-07-02 02:00:11 +02:00
parent ba20f088b9
commit f2f40cdae5
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 20 additions and 20 deletions

View File

@ -771,25 +771,13 @@ It adds a large amount of new and improved features to mutt.")
(sha256 (sha256
(base32 "0yiylbw9iy49hgj29czinv246hh5c18qv6qkvbdrmq9z5m00sp01")))) (base32 "0yiylbw9iy49hgj29czinv246hh5c18qv6qkvbdrmq9z5m00sp01"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs
(list autoconf
automake
pkg-config
gnupg ; for tests only
gobject-introspection
gtk-doc
libtool
vala
which)) ; to find libtool, &c.
(inputs (list glib gpgme zlib))
(arguments (arguments
`(#:configure-flags (list #:configure-flags
(list "--enable-gtk-doc=yes" #~(list "--enable-gtk-doc=yes"
"--enable-introspection=yes") "--enable-introspection=yes")
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after (add-after 'unpack 'patch-paths-in-tests
'unpack 'patch-paths-in-tests
(lambda _ (lambda _
;; The test programs run several programs using 'system' with ;; The test programs run several programs using 'system' with
;; hard-coded paths. Here we patch them all. ;; hard-coded paths. Here we patch them all.
@ -801,7 +789,19 @@ It adds a large amount of new and improved features to mutt.")
(let* ((base (basename prog-path)) (let* ((base (basename prog-path))
(prog (which base))) (prog (which base)))
(string-append pre (string-append pre
(or prog (error "not found: " base)))))))))))) (or prog (error "not found: "
base))))))))))))
(native-inputs
(list autoconf
automake
pkg-config
gnupg ; for tests only
gobject-introspection
gtk-doc
libtool
vala
which)) ; to find libtool, &c.
(inputs (list glib gpgme zlib))
(home-page "http://spruce.sourceforge.net/gmime/") (home-page "http://spruce.sourceforge.net/gmime/")
(synopsis "MIME message parser and creator library") (synopsis "MIME message parser and creator library")
(description (description