unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 28885@debbugs.gnu.org
Subject: [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic.
Date: Wed, 18 Oct 2017 07:03:35 +0100	[thread overview]
Message-ID: <20171018060336.9641-8-mail@cbaines.net> (raw)
In-Reply-To: <20171018060336.9641-1-mail@cbaines.net>

* gnu/packages/ruby.scm (ruby-mimemagic): New variable.
---
 gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index edd7bbe03..45f7b9c86 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3505,6 +3505,33 @@ that TURN is no longer being maintained.")
     (home-page "http://rubygems.org/gems/turn")
     (license license:expat)))
 
+(define-public ruby-mimemagic
+  (package
+    (name "ruby-mimemagic")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "mimemagic" version))
+       (sha256
+        (base32
+         "00ibc1mhvdfyfyl103xwb45621nwyqxf124cni5hyfhag0fn1c3q"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         ;; This phase breaks the tests, as it patches some of the test data.
+         (delete 'patch-source-shebangs))))
+    (native-inputs
+     `(("ruby-bacon" ,ruby-bacon)))
+    (synopsis "Ruby library for MIME detection by extension or content")
+    (description
+     "@acronym{MIME, Multipurpose Internet Mail Extensions} detection by
+extension or content, using the freedesktop.org.xml shared-mime-info
+database.")
+    (home-page "https://github.com/minad/mimemagic")
+    (license license:expat)))
+
 (define-public ruby-mime-types-data
   (package
     (name "ruby-mime-types-data")
-- 
2.14.2

  parent reply	other threads:[~2017-10-18  6:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-18  5:58 [bug#28885] [PATCH] Add ruby-iruby and dependencies Christopher Baines
2017-10-18  6:03 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
2017-10-18  6:03   ` [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon Christopher Baines
2017-10-18  6:03   ` [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits Christopher Baines
2017-10-18  6:03   ` [bug#28885] [PATCH 4/9] gnu: Add ruby-bond Christopher Baines
2017-10-18  6:03   ` [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen Christopher Baines
2017-10-18  6:03   ` [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop Christopher Baines
2017-10-18  6:03   ` [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri Christopher Baines
2017-10-18  6:03   ` Christopher Baines [this message]
2017-10-18  6:03   ` [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby Christopher Baines
2018-02-24 16:39 ` [bug#28885] [PATCH 1/9] gnu: networking: Add czmq Christopher Baines
2018-02-24 16:39   ` [bug#28885] [PATCH 2/9] gnu: Add ruby-mocha-on-bacon Christopher Baines
2018-02-24 16:39   ` [bug#28885] [PATCH 3/9] gnu: Add ruby-bacon-bits Christopher Baines
2018-02-24 16:39   ` [bug#28885] [PATCH 4/9] gnu: Add ruby-bond Christopher Baines
2018-02-24 16:39   ` [bug#28885] [PATCH 5/9] gnu: Add ruby-czmq-ffi-gen Christopher Baines
2018-02-24 16:39   ` [bug#28885] [PATCH 6/9] gnu: Add ruby-cztop Christopher Baines
2018-02-24 16:39   ` [bug#28885] [PATCH 7/9] gnu: Add ruby-data_uri Christopher Baines
2018-02-24 16:39   ` [bug#28885] [PATCH 8/9] gnu: Add ruby-mimemagic Christopher Baines
2018-02-24 16:39   ` [bug#28885] [PATCH 9/9] gnu: Add ruby-iruby Christopher Baines
2018-02-24 16:48 ` [bug#28885] [PATCH] Add ruby-iruby and dependencies Christopher Baines
2018-03-03 13:13   ` bug#28885: " Christopher Baines

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=20171018060336.9641-8-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=28885@debbugs.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 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).