diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2015-12-31 09:05:55 +1000 |
---|---|---|
committer | Ben Woodcroft <donttrustben@gmail.com> | 2016-01-28 00:08:32 +1000 |
commit | d39b606c8874204e6f12a7af9049c3d1615eda25 (patch) | |
tree | cbdcf139fcb469dab54d26a9902a113dd3aa6fc3 /gnu/packages/ruby.scm | |
parent | eb5e0bd96e94cb770bf75742a1bb400aa7cf4e60 (diff) | |
download | gnu-guix-d39b606c8874204e6f12a7af9049c3d1615eda25.tar gnu-guix-d39b606c8874204e6f12a7af9049c3d1615eda25.tar.gz |
gnu: Add ruby-mime-types.
* gnu/packages/ruby.scm (ruby-mime-types): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r-- | gnu/packages/ruby.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a23d75e92c..312d33c053 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3107,6 +3107,35 @@ look up the likely MIME type definitions.") (home-page "https://github.com/mime-types/mime-types-data/") (license license:expat))) +(define-public ruby-mime-types + (package + (name "ruby-mime-types") + (version "3.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "mime-types" version)) + (sha256 + (base32 + "1snjc38a9vqvy8j41xld1i1byq9prbl955pbjw7dxqcfcirqlzra")))) + (build-system ruby-build-system) + (propagated-inputs + `(("ruby-mime-types-data" ,ruby-mime-types-data))) + (native-inputs + `(("ruby-hoe" ,ruby-hoe) + ("ruby-fivemat" ,ruby-fivemat) + ("ruby-minitest-focus" ,ruby-minitest-focus) + ("ruby-minitest-rg" ,ruby-minitest-rg) + ("ruby-minitest-bonus-assertions" ,ruby-minitest-bonus-assertions))) + (synopsis "Library and registry for MIME content type definitions") + (description "The mime-types library provides a library and registry for +information about Multipurpose Internet Mail Extensions (MIME) content type +definitions. It can be used 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/ruby-mime-types") + (license license:expat))) + (define-public ruby-fivemat (package (name "ruby-fivemat") |