unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 07/19] gnu: Add r-highr.
@ 2015-09-13 16:48 Vicente Vera
  2015-09-15 17:39 ` Vicente Vera
  0 siblings, 1 reply; 2+ messages in thread
From: Vicente Vera @ 2015-09-13 16:48 UTC (permalink / raw)
  To: guix-devel

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



[-- Attachment #2: 0007-gnu-Add-r-highr.patch --]
[-- Type: text/x-patch, Size: 1527 bytes --]

From bf82aef0064986fec2fa0a24a83aee20831f2d89 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sun, 13 Sep 2015 13:14:15 -0300
Subject: [PATCH 07/19] gnu: Add r-highr.

* gnu/packages/statistics.scm (r-highr): New variable.
---
 gnu/packages/statistics.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 672fcd2..9535fc6 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -619,3 +619,23 @@ be preserved under certain conditions, so that R code will be more
 human-readable and tidy. There is also a Shiny app as a user interface
 in this package (see tidy_app()).")
     (license license:gpl3+)))
+
+(define-public r-highr
+  (package
+    (name "r-highr")
+    (version "0.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cran/src/contrib/highr_"
+                                  version ".tar.gz"))
+              (sha256
+               (base32 "0jnab5pk5sg4f5krsg5jdamr4y40z2pzxhp5h6fb6wys3m75hzny"))))
+    (build-system r-build-system)
+    (home-page "https://github.com/yihui/highr")
+    (synopsis "Syntax Highlighting for R Source Code")
+    (description
+     "Provides syntax highlighting for R source code. Currently it
+supports LaTeX and HTML output. Source code of other languages is
+supported via Andre Simon's highlight
+package (http://www.andre-simon.de).")
+    (license license:gpl3+)))
-- 
2.5.1


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

* Re: [PATCH 07/19] gnu: Add r-highr.
  2015-09-13 16:48 [PATCH 07/19] gnu: Add r-highr Vicente Vera
@ 2015-09-15 17:39 ` Vicente Vera
  0 siblings, 0 replies; 2+ messages in thread
From: Vicente Vera @ 2015-09-15 17:39 UTC (permalink / raw)
  To: guix-devel, Ricardo Wurmus

[-- Attachment #1: Type: text/plain, Size: 91 bytes --]

Updated patch attached.

2015-09-13 13:48 GMT-03:00 Vicente Vera <vicentemvp@gmail.com>:
>

[-- Attachment #2: 0007-gnu-Add-r-highr.patch --]
[-- Type: text/x-patch, Size: 1621 bytes --]

From 3ca3843cd2fb34d254cd5930b70283136e0f91ea Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Tue, 15 Sep 2015 14:17:50 -0300
Subject: [PATCH 07/19] gnu: Add r-highr.

* gnu/packages/statistics.scm (r-highr): New variable.
---
 gnu/packages/statistics.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index be9916f..d4a892f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -637,3 +637,25 @@ indent will be added to the code automatically, and comments will be preserved
 under certain conditions, so that R code will be more human-readable and tidy.
 There is also a Shiny app as a user interface in this package.")
     (license license:gpl3+)))
+
+(define-public r-highr
+  (package
+    (name "r-highr")
+    (version "0.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cran/src/contrib/highr_"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0jnab5pk5sg4f5krsg5jdamr4y40z2pzxhp5h6fb6wys3m75hzny"))))
+    (build-system r-build-system)
+    (home-page
+     "https://github.com/yihui/highr")
+    (synopsis
+     "Syntax highlighting for R source code")
+    (description
+     "This package provides syntax highlighting for R source code.  Currently
+it supports LaTeX and HTML output.  Source code of other languages is supported
+via Andre Simon's highlight package (http://www.andre-simon.de).")
+    (license license:gpl3+)))
-- 
2.5.2


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

end of thread, other threads:[~2015-09-15 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-13 16:48 [PATCH 07/19] gnu: Add r-highr Vicente Vera
2015-09-15 17:39 ` Vicente Vera

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).