summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a0e682c8b6c..4b88dc7845e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2840,3 +2840,34 @@ ISO 8601 dates, time and duration.")
2840 2840
2841(define-public python2-isodate 2841(define-public python2-isodate
2842 (package-with-python2 python-isodate)) 2842 (package-with-python2 python-isodate))
2843
2844(define-public python-html5lib
2845 (package
2846 (name "python-html5lib")
2847 (version "1.0b3")
2848 (source
2849 (origin
2850 (method url-fetch)
2851 (uri (string-append
2852 "https://pypi.python.org/packages/source/h/html5lib/html5lib-"
2853 version
2854 ".tar.gz"))
2855 (sha256
2856 (base32
2857 "1l5i6xzckzx4hnh9qzv9q3kyhkgjx2hsi2k9srgci3qizjmvp6ln"))))
2858 (build-system python-build-system)
2859 (inputs
2860 `(("python-setuptools" ,python-setuptools)))
2861 (arguments
2862 `(#:test-target "check"))
2863 (home-page
2864 "https://github.com/html5lib/html5lib-python")
2865 (synopsis
2866 "Python HTML parser based on the WHATWG HTML specifcation")
2867 (description
2868 "Html5lib is an HTML parser based on the WHATWG HTML specifcation
2869and written in Python.")
2870 (license expat)))
2871
2872(define-public python2-html5lib
2873 (package-with-python2 python-html5lib))