summary refs log tree commit diff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-20 12:57:51 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-20 14:22:36 -0500
commit3044f7249c21f56ace8abed1f50cb37feeeb1808 (patch)
treecdc391dae605f0e55615dd2b1c0232daa329d1a7 /gnu/packages/web.scm
parent7c4eaa562d56585080aae80acd36192ca1bbce5f (diff)
downloadguix-3044f7249c21f56ace8abed1f50cb37feeeb1808.tar.gz
gnu: Add MIME-Types.
* gnu/packages/web.scm (perl-mime-types): New variable.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 30fc21d72b..8611826710 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1451,6 +1451,26 @@ media types is defined by the media.types file.  If the ~/.media.types file
 exists it is used instead.")
     (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
   (package
     (name "perl-net-http")