mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: Add ruby-mimemagic.
* gnu/packages/ruby.scm (ruby-mimemagic): New variable.
This commit is contained in:
parent
b03eb6acb4
commit
8279b1d3b1
1 changed files with 27 additions and 0 deletions
|
@ -3503,6 +3503,33 @@ (define-public ruby-turn
|
||||||
(home-page "http://rubygems.org/gems/turn")
|
(home-page "http://rubygems.org/gems/turn")
|
||||||
(license license:expat)))
|
(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
|
(define-public ruby-mime-types-data
|
||||||
(package
|
(package
|
||||||
(name "ruby-mime-types-data")
|
(name "ruby-mime-types-data")
|
||||||
|
|
Loading…
Reference in a new issue