gnu: r-haven: Update to 2.5.3.

* gnu/packages/cran.scm (r-haven): Update to 2.5.3.
[properties]: Declare readstat as an extra input.
[native-inputs]: Add pkg-config.
This commit is contained in:
Ricardo Wurmus 2023-07-10 23:18:08 +02:00
parent 95a4fc7e9c
commit 2c04ca3de0
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -5109,19 +5109,21 @@ (define-public r-ggmap
(define-public r-haven (define-public r-haven
(package (package
(name "r-haven") (name "r-haven")
(version "2.5.2") (version "2.5.3")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (cran-uri "haven" version)) (uri (cran-uri "haven" version))
(sha256 (sha256
(base32 (base32
"07an4d8638m27765l6l4p6vfjxm8nfwbxx2bwpxfy6xffw1znc91")) "1qxp0hp7clmd70383lsbiijq1i5037zv4haja60czw09mnprjncs"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; unvendor readstat ;; unvendor readstat
'(delete-file-recursively "src/readstat")))) '(delete-file-recursively "src/readstat"))))
(build-system r-build-system) (build-system r-build-system)
(properties
'((updater-extra-inputs . ("readstat"))))
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -5137,15 +5139,15 @@ (define-public r-haven
(inputs (inputs
(list readstat zlib)) (list readstat zlib))
(native-inputs (native-inputs
(list r-knitr)) (list pkg-config r-knitr))
(propagated-inputs (propagated-inputs
(list r-cli (list r-cli
r-cpp11 r-cpp11
r-forcats r-forcats
r-hms r-hms
r-lifecycle r-lifecycle
r-rlang
r-readr r-readr
r-rlang
r-tibble r-tibble
r-tidyselect r-tidyselect
r-vctrs)) r-vctrs))