From 61b9ac53c34ac3ab6f2661e0de50ea0292407267 Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Thu, 23 Jul 2015 11:06:35 +0200 Subject: [PATCH] gnu: Add python-mistune. * gnu/packages/python.scm (python-mistune, python2-mistune): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6554abba82..aa4080f23c 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4543,3 +4543,31 @@ complexity of Python source code.") (define-public python2-flake8 (package-with-python2 python-flake8)) + +(define-public python-mistune + (package + (name "python-mistune") + (version "0.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/m/mistune/mistune-" + version + ".tar.gz")) + (sha256 + (base32 + "17zqjp9m4d1w3jf2rbbq5xshcw24q1vlcv24gkgfqqyyymajxahx")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-nose" ,python-nose) + ("python-cython" ,python-cython))) + (home-page "https://github.com/lepture/mistune") + (synopsis "Markdown parser in pure Python") + (description "This package provides a fast markdown parser in pure +Python.") + (license bsd-3))) + +(define-public python2-mistune + (package-with-python2 python-mistune))