diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-09-05 08:33:45 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-09-05 23:31:20 -0400 |
commit | 56ea0efd72b82d82f48942c30fce8d74f808513a (patch) | |
tree | c154badde0aad41dd49294051b018e8ad8893e29 /gnu | |
parent | 850189b839e785bcebb2add7043fded688c61fbe (diff) | |
download | patches-56ea0efd72b82d82f48942c30fce8d74f808513a.tar patches-56ea0efd72b82d82f48942c30fce8d74f808513a.tar.gz |
gnu: Add python-mimeparse.
* gnu/packages/python.scm (python-mimeparse, python2-mimeparse): New
variables.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2ff4572a5c..55e8469a63 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -939,6 +939,35 @@ In short, SCons is an easier, more reliable and faster way to build software.") (license x11))) +(define-public python-mimeparse + (package + (name "python-mimeparse") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/python-mimeparse/python-mimeparse-" + version ".tar.gz")) + (sha256 + (base32 + "1hyxg09kaj02ri0rmwjqi86wk4nd1akvv7n0dx77azz76wga4s9w")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (arguments + '(#:tests? #f)) ; no setup.py test command + (home-page + "https://github.com/dbtsai/python-mimeparse") + (synopsis "Python library for parsing MIME types.") + (description + "Mimeparse provides basic functions for parsing MIME type names and +matching them against a list of media-ranges.") + (license expat))) + +(define-public python2-mimeparse + (package-with-python2 python-mimeparse)) + (define-public behave (package (name "behave") |