unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vicente Vera <vicentemvp@gmail.com>
To: guix-devel@gnu.org, Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Subject: Re: [PATCH 16/19] gnu: Add r-crayon.
Date: Tue, 15 Sep 2015 14:45:21 -0300	[thread overview]
Message-ID: <CAMfbzvDGJcLF2UYYjQrZTjuvoaKAj2vFbE9gOx6GWxTyqXQbaw@mail.gmail.com> (raw)
In-Reply-To: <CAMfbzvBOfA5zu0z90ZVZvK=yWinnPshMZPr2+avKSg7AnH7FEw@mail.gmail.com>

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

Updated patch attached.

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

[-- Attachment #2: 0016-gnu-Add-r-crayon.patch --]
[-- Type: text/x-patch, Size: 1764 bytes --]

From de5cfb321fddcae013ca3ddd38f51385e54b71d7 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Tue, 15 Sep 2015 14:23:46 -0300
Subject: [PATCH 16/19] gnu: Add r-crayon.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 2ad03c9..78f6383 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -851,3 +851,29 @@ understand the language at a deeper level.")
      "This package allows to cache the results of a function so that when you
 call it again with the same arguments it returns the pre-computed value.")
     (license license:expat)))
+
+(define-public r-crayon
+  (package
+    (name "r-crayon")
+    (version "1.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cran/src/contrib/crayon_"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0d38fm06h272a8iqlc0d45m2rh36giwqw7mwq4z8hkp4vs975fmm"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-memoise" ,r-memoise)))
+    (home-page
+     "https://github.com/gaborcsardi/crayon")
+    (synopsis
+     "Colored terminal output for R")
+    (description
+     "Colored terminal output on terminals that support ANSI color and
+highlight codes.  It also works in Emacs ESS.  ANSI color support is
+automatically detected.  Colors and highlighting can be combined and nested.
+New styles can also be created easily.  This package was inspired by the
+\"chalk\" JavaScript project.")
+    (license license:expat)))
-- 
2.5.2


      reply	other threads:[~2015-09-15 17:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-13 16:54 [PATCH 16/19] gnu: Add r-crayon Vicente Vera
2015-09-15 17:45 ` Vicente Vera [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMfbzvDGJcLF2UYYjQrZTjuvoaKAj2vFbE9gOx6GWxTyqXQbaw@mail.gmail.com \
    --to=vicentemvp@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).