summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 11:34:17 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:47 -0500
commite3cfe3d6d18e6fd9db7341ba3a6c4a21e5fab268 (patch)
treee12f3d129ed5f8c21dc8ab77913eea95ffb3727b /gnu/packages/perl.scm
parent186eb1324811ebe87ffe81d0b4554aba4b07b56f (diff)
downloadguix-e3cfe3d6d18e6fd9db7341ba3a6c4a21e5fab268.tar.gz
gnu: Move perl-mime-types to (gnu packages perl).
* gnu/packages/web.scm (perl-mime-types): Move this...
* gnu/packages/perl.scm (perl-mime-types): ... to here.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f212afeaf4..c393ec792a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2179,6 +2179,26 @@ follows LRU semantics, that is, the last n results, where n is specified as
 the argument to the CACHESIZE parameter, will be cached.")
     (license (package-license perl))))
 
+(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-module-build-tiny
   (package
     (name "perl-module-build-tiny")