guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/10: gnu: Add r-httr.


From: Ricardo Wurmus
Subject: 07/10: gnu: Add r-httr.
Date: Mon, 16 Nov 2015 10:11:09 +0000

rekado pushed a commit to branch master
in repository guix.

commit 681e03c12ddf1bd1022b7478d2182559a2273149
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Nov 10 16:40:04 2015 +0100

    gnu: Add r-httr.
    
    * gnu/packages/statistics.scm (r-httr): New variable.
---
 gnu/packages/statistics.scm |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 8062a51..9c277b4 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1162,3 +1162,30 @@ module, Java Server Pages, and Python's psp module.")
      "Roxygen2 is a Doxygen-like in-source documentation system for Rd,
 collation, and NAMESPACE files.")
     (license license:gpl2+)))
+
+(define-public r-httr
+  (package
+    (name "r-httr")
+    (version "1.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "httr" version))
+              (sha256
+               (base32
+                "1yprw8p4g8026jhravgg1hdwj1g51cpdgycyr5a58jwm4i5f79cq"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-curl" ,r-curl)
+       ("r-digest" ,r-digest)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-mime" ,r-mime)
+       ("r-r6" ,r-r6)
+       ("r-stringr" ,r-stringr)))
+    (home-page "https://github.com/hadley/httr";)
+    (synopsis "Tools for working with URLs and HTTP")
+    (description
+     "The aim of httr is to provide a wrapper for RCurl customised to the
+demands of modern web APIs.  It provides useful tools for working with HTTP
+organised by HTTP verbs (@code{GET()}, @code{POST()}, etc).  Configuration
+functions make it easy to control additional request components.")
+    (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]