gnu: Add MIME-Types.
* gnu/packages/web.scm (perl-mime-types): New variable.
This commit is contained in:
parent
7c4eaa562d
commit
3044f7249c
|
@ -1451,6 +1451,26 @@ media types is defined by the media.types file. If the ~/.media.types file
|
||||||
exists it is used instead.")
|
exists it is used instead.")
|
||||||
(home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
|
(home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
|
||||||
|
|
||||||
|
(define-public perl-mime-types
|
||||||
|
(package
|
||||||
|
(name "perl-mime-types")
|
||||||
|
(version "2.09")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
|
||||||
|
"MIME-Types-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0s7s2z9xc1nc2l59rk80iaa04r36k0y95231212kz5p3ln7szk1c"))))
|
||||||
|
(build-system perl-build-system)
|
||||||
|
(home-page "http://search.cpan.org/dist/MIME-Types")
|
||||||
|
(synopsis "Definition of MIME types")
|
||||||
|
(description "This module provides a list of known mime-types, combined
|
||||||
|
from various sources. For instance, it contains all IANA types and the
|
||||||
|
knowledge of Apache.")
|
||||||
|
(license (package-license perl))))
|
||||||
|
|
||||||
(define-public perl-net-http
|
(define-public perl-net-http
|
||||||
(package
|
(package
|
||||||
(name "perl-net-http")
|
(name "perl-net-http")
|
||||||
|
|
Loading…
Reference in New Issue