Binary package “ruby-mimemagic” in ubuntu focal

fast MIME detection by extension or content

 The mimemagic Ruby library provides fast MIME detection by extension or
 content. It uses the freedesktop.org MIME database provided by the
 shared-mime-info package. It also contains some extra magic to detect
 Microsoft Office 2007+ formats.