From 32d1c06ffa2768c473b20a43489b2db22c38b72f Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Thu, 31 Dec 2015 09:01:01 +1000 Subject: gnu: Add ruby-mime-types-data. * gnu/packages/ruby.scm (ruby-mime-types-data): New variable. --- gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index d9feb713f3..faad88ff89 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3083,6 +3083,30 @@ that TURN is no longer being maintained.") (home-page "http://rubygems.org/gems/turn") (license license:expat))) +(define-public ruby-mime-types-data + (package + (name "ruby-mime-types-data") + (version "3.2015.1120") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "mime-types-data" version)) + (sha256 + (base32 + "04fzvy02w8d0rrsg8avncn7h58pvwdxj82aps54srb3sam2dkhic")))) + (build-system ruby-build-system) + (native-inputs + `(("ruby-hoe" ,ruby-hoe))) + (synopsis "Registry for information about MIME media type definitions") + (description + "@code{mime-types-data} provides a registry for information about +Multipurpose Internet Mail Extensions (MIME) media type definitions. It can +be used with the Ruby mime-types library or other software to determine +defined filename extensions for MIME types, or to use filename extensions to +look up the likely MIME type definitions.") + (home-page "https://github.com/mime-types/mime-types-data/") + (license license:expat))) + (define-public ruby-ansi (package (name "ruby-ansi") -- cgit v1.2.3