From 8a388865197708220ef5c474a9611f122f5242e6 Mon Sep 17 00:00:00 2001 From: Federico Beffa
Date: Thu, 23 Jul 2015 11:06:35 +0200 Subject: [PATCH 08/12] gnu: Add python-mistune. * gnu/packages/python.scm (python-mistune, python2-mistune): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 7709fbd..0718cd8 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4219,3 +4219,30 @@ 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 "A fast markdown parser in pure Python.") + (license bsd-3))) + +(define-public python2-mistune + (package-with-python2 python-mistune)) -- 2.2.1