mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
dev-ml/*: improve metadata
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1,11 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">mirage/ocaml-magic-mime</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">This library contains a database of MIME types that maps filename extensions
|
||||
into MIME types suitable for use in many Internet protocols such as HTTP or
|
||||
e-mail. It is generated from the `mime.types` file found in Unix systems, but
|
||||
has no dependency on a filesystem since it includes the contents of the
|
||||
database as an ML datastructure.
|
||||
|
||||
For example, here's how to lookup MIME types in the [utop] REPL:
|
||||
|
||||
#require "magic-mime";;
|
||||
Magic_mime.lookup "/foo/bar.txt";;
|
||||
- : bytes = "text/plain"
|
||||
Magic_mime.lookup "bar.css";;
|
||||
- : bytes = "text/css"</longdescription>
|
||||
<upstream>
|
||||
<doc>https://mirage.github.io/ocaml-magic-mime/</doc>
|
||||
<bugs-to>https://github.com/mirage/ocaml-magic-mime/issues</bugs-to>
|
||||
<remote-id type="github">mirage/ocaml-magic-mime</remote-id>
|
||||
<maintainer>
|
||||
<name>Anil Madhavapeddy</name>
|
||||
<email>anil@recoil.org</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user