Updated patch attached.

2015-09-13 13:49 GMT-03:00 Vicente Vera <vicente...@gmail.com>:
>
From d77ac349efa78e0efe098382f4e089d7dcd0fe43 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicente...@gmail.com>
Date: Tue, 15 Sep 2015 14:18:25 -0300
Subject: [PATCH 08/19] gnu: Add r-mime.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index d4a892f..a1c2bff 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -659,3 +659,24 @@ There is also a Shiny app as a user interface in this package.")
 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+)))
+
+(define-public r-mime
+  (package
+    (name "r-mime")
+    (version "0.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cran/src/contrib/mime_"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "145cdcg252w2zsq67dmvmsqka60msfp7agymlxs3gl3ihgiwg46p"))))
+    (build-system r-build-system)
+    (home-page
+     "https://github.com/yihui/mime";)
+    (synopsis
+     "R package to map filenames to MIME types")
+    (description
+     "This package guesses the MIME type from a filename extension using the
+data derived from /etc/mime.types in UNIX-type systems.")
+    (license license:gpl2)))
-- 
2.5.2

Reply via email to