gnu: Add r-highlight.

* gnu/packages/cran.scm (r-highlight): New variable.
This commit is contained in:
Ricardo Wurmus 2021-02-10 21:38:23 +01:00
parent eb21f330b9
commit c35364ea03
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -26559,3 +26559,25 @@ (define-public r-vdiffr
to add graphical unit tests. It provides a Shiny application to manage the
test cases.")
(license license:gpl3)))
(define-public r-highlight
(package
(name "r-highlight")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "highlight" version))
(sha256
(base32
"1shar4y07wyixg0ichdrn2xhgwkl3mv2pxkalqzisc69w605b3hf"))))
(properties `((upstream-name . "highlight")))
(build-system r-build-system)
(home-page "https://github.com/hadley/highlight")
(synopsis "Syntax highlighter for R code")
(description
"This package provides a syntax highlighter for R code based on the
results of the R parser. It supports rendering in HTML and LaTeX markup. It
includes a custom Sweave driver performing syntax highlighting of R code
chunks.")
(license license:gpl3+)))