From 916d58635ac574cc04dcd4605a0bc58c6db625c4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 23 Jan 2025 15:40:48 +0100 Subject: [PATCH] gnu: Add r-rcppcctz. * gnu/packages/cran.scm (r-rcppcctz): New variable. Change-Id: Iba226a97d10474b3e4519a30224691ec585065ae --- gnu/packages/cran.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index b67a78233c77a7d3e2a0ef0e2ea0c13538e5f398..0028cd5950cd015904e8f8f6e75d608fb7619b84 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -8828,6 +8828,31 @@ and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see @code{citation(\"Rcpp\")} for details on these last two.") (license license:gpl2+))) +(define-public r-rcppcctz + (package + (name "r-rcppcctz") + (version "0.2.13") + (source + (origin + (method url-fetch) + (uri (cran-uri "RcppCCTZ" version)) + (sha256 + (base32 "1wmbyaj08fbl4g47aq0mfkkvqwpah3d2j94fzc813dijxlsi847l")))) + (properties + `((upstream-name . "RcppCCTZ") + (updater-extra-native-inputs . ("tzdata-for-tests")))) + (build-system r-build-system) + (propagated-inputs (list r-rcpp)) + (native-inputs (list r-tinytest tzdata-for-tests)) + (home-page "https://github.com/eddelbuettel/rcppcctz") + (synopsis "Rcpp bindings for the CCTZ library") + (description + "Rcpp access to the CCTZ timezone library is provided. CCTZ is a C++ +library for translating between absolute and civil times using the rules of a +time zone. The CCTZ source code is included in this package.") + (license (list license:gpl2+ + license:asl2.0)))) ;for CCTZ + (define-public r-rcppdate (package (name "r-rcppdate")