gnu: xlsxio: Use G-expressions.

* gnu/packages/xml.scm (xlsxio)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice 2022-10-16 02:00:01 +02:00
parent fa1cd5b31f
commit 3fae4f64ba
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1531,15 +1531,16 @@ (define-public xlsxio
(list expat gnu-make minizip which)) (list expat gnu-make minizip which))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
(delete 'configure) #~(modify-phases %standard-phases
(delete 'check) (delete 'configure)
(replace 'install (delete 'check)
(lambda* (#:key outputs #:allow-other-keys) (replace 'install
(invoke "make" "install" (lambda* (#:key outputs #:allow-other-keys)
(string-append (invoke "make" "install"
"PREFIX=" (assoc-ref outputs "out")))))))) (string-append
"PREFIX=" (assoc-ref outputs "out"))))))))
(synopsis "C library for reading and writing .xlsx files") (synopsis "C library for reading and writing .xlsx files")
(description "XLSX I/O aims to provide a C library for reading and writing (description "XLSX I/O aims to provide a C library for reading and writing
.xlsx files. The .xlsx file format is the native format used by Microsoft(R) .xlsx files. The .xlsx file format is the native format used by Microsoft(R)