beffa pushed a commit to branch master in repository guix. commit 61b9ac53c34ac3ab6f2661e0de50ea0292407267 Author: Federico Beffa <be...@fbengineering.ch> Date: Thu Jul 23 11:06:35 2015 +0200
gnu: Add python-mistune. * gnu/packages/python.scm (python-mistune, python2-mistune): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6554abb..aa4080f 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))