gnu: Add r-gh.

* gnu/packages/cran.scm (r-gh): New variable.
This commit is contained in:
Ricardo Wurmus 2018-10-28 19:21:02 +01:00
parent 03f8011220
commit 21405e81e7
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 22 additions and 0 deletions

View File

@ -6714,3 +6714,25 @@ files to an structured list. Users can manipulate this resulting list with
@code{lapply()} functions. This same structured list can be used to write @code{lapply()} functions. This same structured list can be used to write
back to file after modifications.") back to file after modifications.")
(license license:gpl3))) (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)))