From 21405e81e7bf4016c4e8ed385186a94e8955bef7 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 28 Oct 2018 19:21:02 +0100 Subject: gnu: Add r-gh. * gnu/packages/cran.scm (r-gh): New variable. --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index c92b41d140..5e9973a071 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -6714,3 +6714,25 @@ (define-public r-ini @code{lapply()} functions. This same structured list can be used to write back to file after modifications.") (license license:gpl3))) + +(define-public r-gh + (package + (name "r-gh") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "gh" version)) + (sha256 + (base32 + "1llinfajb0g7006jd2w1hpskxpmkjhnqarcjb71r1qvsccb2ph7k")))) + (build-system r-build-system) + (propagated-inputs + `(("r-httr" ,r-httr) + ("r-ini" ,r-ini) + ("r-jsonlite" ,r-jsonlite))) + (home-page "https://github.com/r-lib/gh#readme") + (synopsis "Access the GitHub API via R") + (description + "This package provides a minimal R client to access the GitHub API.") + (license license:expat))) -- cgit v1.2.3