me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 10 additions and 1 deletions

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