[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/158: gnu: r-haven: Update to 2.5.2.
From: |
guix-commits |
Subject: |
05/158: gnu: r-haven: Update to 2.5.2. |
Date: |
Sun, 19 Mar 2023 13:24:00 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit fce72b352295ddeb8b0144cb812fe0701b97031f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Mar 17 14:08:04 2023 +0100
gnu: r-haven: Update to 2.5.2.
* gnu/packages/cran.scm (r-haven): Update to 2.5.2.
[arguments]: Update to link with readstat.
[inputs]: Add zlib.
---
gnu/packages/cran.scm | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index bda7725e21..2c7f6d7f17 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4706,14 +4706,14 @@ including functions for geolocation and routing.")
(define-public r-haven
(package
(name "r-haven")
- (version "2.5.1")
+ (version "2.5.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "haven" version))
(sha256
(base32
- "0w0aqm0z4h0rm1f7fylm1mbv79p43y2r795w64wczcd0jwh4ch4z"))
+ "07an4d8638m27765l6l4p6vfjxm8nfwbxx2bwpxfy6xffw1znc91"))
(modules '((guix build utils)))
(snippet
;; unvendor readstat
@@ -4726,12 +4726,13 @@ including functions for geolocation and routing.")
(lambda _
;; We’re not building readstat.
(substitute* "configure"
- (("exit 1") "")) ;don't be so dramatic!
- (substitute* '("src/Makevars.in"
- "configure")
- (("^PKG_LIBS=.*") "PKG_LIBS=\"-lreadstat\"\n")))))))
+ (("^PKG_CONFIG_NAME=\"zlib\"")
+ "PKG_CONFIG_NAME=\"readstat zlib\"")
+ (("^PKG_LIBS=\"-lz\"")
+ "PKG_LIBS=\"-lz -lreadstat\"\n")
+ (("exit 1") ""))))))) ;don't be so dramatic!
(inputs
- (list readstat))
+ (list readstat zlib))
(native-inputs
(list r-knitr))
(propagated-inputs
- branch master updated (f9702aa9fd -> e9c8c01e24), guix-commits, 2023/03/19
- 03/158: gnu: r-httpuv: Update to 1.6.9., guix-commits, 2023/03/19
- 04/158: gnu: readstat: Update to 1.1.9., guix-commits, 2023/03/19
- 05/158: gnu: r-haven: Update to 2.5.2.,
guix-commits <=
- 07/158: gnu: r-opencpu: Update to 2.2.9., guix-commits, 2023/03/19
- 08/158: gnu: r-ggvis: Update to 0.4.8., guix-commits, 2023/03/19
- 06/158: gnu: r-bookdown: Update to 0.33., guix-commits, 2023/03/19
- 09/158: gnu: r-sf: Update to 1.0-11., guix-commits, 2023/03/19
- 13/158: gnu: Add r-mclogit., guix-commits, 2023/03/19
- 14/158: gnu: r-shadowtext: Update indentation., guix-commits, 2023/03/19
- 02/158: gnu: Add libuv-for-r-httpuv., guix-commits, 2023/03/19
- 15/158: gnu: r-memuse: Adjust indentation., guix-commits, 2023/03/19
- 16/158: gnu: r-numbat: Update to 1.2.2., guix-commits, 2023/03/19
- 18/158: gnu: r-mutoss: Update to 0.1-13., guix-commits, 2023/03/19