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

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



[-- Attachment #2: 0008-gnu-Add-r-mime.patch --]
[-- Type: text/x-patch, Size: 1387 bytes --]

From 0f996b4462257a5331681f7cb051e46a972d3381 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sun, 13 Sep 2015 13:15:41 -0300
Subject: [PATCH 08/19] gnu: Add r-mime.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 9535fc6..0019bbe 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -639,3 +639,21 @@ 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 "Map Filenames to MIME Types")
+    (description
+     "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.1


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

* Re: [PATCH 08/19] gnu: Add r-mime.
  2015-09-13 16:49 [PATCH 08/19] gnu: Add r-mime 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:49 GMT-03:00 Vicente Vera <vicentemvp@gmail.com>:
>

[-- Attachment #2: 0008-gnu-Add-r-mime.patch --]
[-- Type: text/x-patch, Size: 1514 bytes --]

From d77ac349efa78e0efe098382f4e089d7dcd0fe43 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@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


^ 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:49 [PATCH 08/19] gnu: Add r-mime 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).