3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: r-qs: Add missing inputs.

Use existing packages for zstd and lz4 instead of compiling bundled sources.

* gnu/packages/cran.scm (r-qs)[inputs]: Add zstd:lib and lz4.
[arguments]: Patch configure script to accept slightly older zstd.
This commit is contained in:
Ricardo Wurmus 2023-01-04 00:21:09 +01:00
parent 4fda13bd82
commit 4a487941ad
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -34534,7 +34534,16 @@ package.")
"0cx5k0mzn6bm8ff58yrqz3hjidxcawxgqbpijnynvin1m4395i4j"))))
(properties `((upstream-name . "qs")))
(build-system r-build-system)
(inputs (list zlib))
(arguments
(list
#:phases
'(modify-phases %standard-phases
;; Our zstd is at 1.5.0, but this package bundles 1.5.2.
(add-after 'unpack 'use-older-zstd
(lambda _
(substitute* "configure"
(("100502") "100500")))))))
(inputs (list lz4 zlib (list zstd "lib")))
(propagated-inputs
(list r-rapiserialize r-rcpp r-stringfish))
(native-inputs