From: Vicente Vera <vicentemvp@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 08/19] gnu: Add r-mime.
Date: Sun, 13 Sep 2015 13:49:25 -0300 [thread overview]
Message-ID: <CAMfbzvAXhK037e_NwbUETU6k40wD4Udifow6BkjE47gP2CVGXg@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2015-09-13 16:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-13 16:49 Vicente Vera [this message]
2015-09-15 17:39 ` [PATCH 08/19] gnu: Add r-mime Vicente Vera
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMfbzvAXhK037e_NwbUETU6k40wD4Udifow6BkjE47gP2CVGXg@mail.gmail.com \
--to=vicentemvp@gmail.com \
--cc=guix-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.