;;;Author Jovany Leandro G.C ;;;LICENSE FREE AS GUIX (define-module (contrib python) #:use-module ((guix licenses) #:select (gpl3+ lgpl2.0+ lgpl3+ bsd-3 public-domain)) #:use-module (gnu packages) #:use-module (gnu packages python) #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system python)) (define-public python-markdown (package (name "python-markdown") (version "2.6.6") (source (origin (method url-fetch) (uri (pypi-uri "Markdown" version)) (sha256 (base32 "0165cqv2k3kdimp1yvqxvhr7m78mq77pp214h2nanabd1ns2nacs")))) (build-system python-build-system) (native-inputs `(("python-setuptools" ,python-setuptools))) (arguments `(#:tests? #f)) (home-page "https://pythonhosted.org/Markdown/") (synopsis "Python implementation of Markdown.") (description "This is a Python implementation of John Gruber’s Markdown. It is almost completely compliant with the reference implementation, though there are a few known issues. See Features for information on what exactly is supported and what is not. Additional features are supported by the Available Extensions.") (license bsd-3))) (define-public python2-markdown (package-with-python2 python-markdown)) (define-public python2-cheetah (package (name "python2-cheetah") (version "2.4.4") (source (origin (method url-fetch) (uri (pypi-uri "Cheetah" version)) (sha256 (base32 "0l5mm4lnysjkzpjr95q5ydm9xc8bv43fxmr79ypybrf1y0lq4c5y")))) (build-system python-build-system) (arguments `(#:python ,python-2)) (inputs `(("python-markdown" ,python2-markdown))) (native-inputs `(("python2-setuptools" ,python2-setuptools))) (home-page "http://www.cheetahtemplate.org/") (synopsis "Cheetah is an open source template engine and code generation tool, written in Python") (description "Cheetah is an open source template engine and code-generation tool written in Python. Cheetah can be used unto itself, or incorporated with other technologies and stacks regardless of whether they’re written in Python or not.") (license bsd-3)))