unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#52191] [PATCH 2/3] Add r-gistr
@ 2021-11-29 23:53 Hong.Li
  2021-11-30 15:46 ` bug#52191: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Hong.Li @ 2021-11-29 23:53 UTC (permalink / raw)
  To: 52191; +Cc: rekado@elephly.net


[-- Attachment #1.1: Type: text/plain, Size: 2 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 368 bytes --]

[-- Attachment #2: 0002-Add-r-gistr.patch --]
[-- Type: application/octet-stream, Size: 1994 bytes --]

From 9d8b04152dff8a2ba9111390ce46ad745bb958cb Mon Sep 17 00:00:00 2001
From: "Li, Hong" <hong.li@mdc-berlin.net>
Date: Tue, 30 Nov 2021 00:03:13 +0100
Subject: [PATCH 2/3] Add r-gistr

---
 gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index e6e3dfd9e9..3ca478d5ec 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -32039,6 +32039,36 @@ convert dates to MMWR day, week, and year and the reverse.")
      "This package provides a simple HTTP client, with tools for making HTTP requests, and mocking HTTP requests.  The package is built on R6, and takes inspiration from Ruby's 'faraday' gem.")
     (license license:expat)))
 
+(define-public r-gistr
+  (package
+    (name "r-gistr")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "gistr" version))
+       (sha256
+        (base32
+         "0ac9ikrdg6i8xvlma0gizvsdva46408lk7hvsgkqirhy2ljy02hp"))))
+    (properties `((upstream-name . "gistr")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-assertthat" ,r-assertthat)
+       ("r-crul" ,r-crul)
+       ("r-dplyr" ,r-dplyr)
+       ("r-httr" ,r-httr)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-knitr" ,r-knitr)
+       ("r-magrittr" ,r-magrittr)
+       ("r-rmarkdown" ,r-rmarkdown)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/ropensci/gistr")
+    (synopsis "Work with 'Gists' in browser")
+    (description
+     "This package allows the user to create new 'gists', update 'gists' with new files, rename files, delete files, get and delete 'gists', star and 'un-star' 'gists', fork 'gists', o
+pen a 'gist' in your default browser, get embed code for a 'gist', list 'gist' 'commits', and get rate limit information when 'authenticated'.")
+    (license license:expat)))
+
 (define-public r-fauxpas
   (package
     (name "r-fauxpas")
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#52191: [PATCH 2/3] Add r-gistr
  2021-11-29 23:53 [bug#52191] [PATCH 2/3] Add r-gistr Hong.Li
@ 2021-11-30 15:46 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2021-11-30 15:46 UTC (permalink / raw)
  To: Hong.Li@mdc-berlin.de; +Cc: 52191-done

Thank you for the patch!

I’ve pushed this to the “master” branch.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-30 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 23:53 [bug#52191] [PATCH 2/3] Add r-gistr Hong.Li
2021-11-30 15:46 ` bug#52191: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).