summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-05-10 12:57:35 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-05-10 13:31:02 +0200
commit29591ca61187ff503e2957ac2a349b01e5d510f8 (patch)
tree5ac3077fc000aa8befd64afd00c280578142cc0e
parentafc4370d4c197f5e5a194e2946b671a05286ddc3 (diff)
gnu: Add r-citr.
* gnu/packages/cran.scm (r-citr): New variable.
-rw-r--r--gnu/packages/cran.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7e31660a78..16da3c2782 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14400,3 +14400,34 @@ of styles, and exported. BibTeX and BibLaTeX @code{.bib} files can be read
into R and converted to @code{BibEntry} objects.")
;; Any of these licenses may be picked.
(license (list license:gpl2 license:gpl3 license:bsd-3))))
+
+(define-public r-citr
+ (package
+ (name "r-citr")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "citr" version))
+ (sha256
+ (base32
+ "0pik6s6xk5768s3kkppw2192dj455py53gsn6k2b7xgg96ircy0g"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-assertthat" ,r-assertthat)
+ ("r-bibtex" ,r-bibtex)
+ ("r-curl" ,r-curl)
+ ("r-httr" ,r-httr)
+ ("r-miniui" ,r-miniui)
+ ("r-refmanager" ,r-refmanager)
+ ("r-rstudioapi" ,r-rstudioapi)
+ ("r-shiny" ,r-shiny)
+ ("r-shinyjs" ,r-shinyjs)
+ ("r-yaml" ,r-yaml)))
+ (home-page "https://github.com/crsh/citr")
+ (synopsis "RStudio add-in to insert Markdown citations")
+ (description
+ "This package provides functions and an RStudio add-in that search a
+BibTeX or BibLaTeX file to create and insert formatted Markdown citations into
+the current document.")
+ (license license:expat)))