guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25811: [PATCH 3/8] gnu: Add python-m2r.


From: Marius Bakke
Subject: bug#25811: [PATCH 3/8] gnu: Add python-m2r.
Date: Mon, 06 Mar 2017 14:02:28 +0100
User-agent: Notmuch/0.23.7 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu)

Troy Sankey <address@hidden> writes:

> * gnu/packages/python.scm (python-m2r, python2-m2r): New variables.
> ---
>  gnu/packages/python.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 9d2b977a7..4e87e3867 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -12709,6 +12709,30 @@ Python.  It is based on Parsing Expression Grammars, 
> PEG.  With pyPEG you can
>  parse many formal languages.")
>      (license license:gpl2)))
>  
> +(define-public python-m2r
> +  (package
> +    (name "python-m2r")
> +    (version "0.1.5")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "m2r" version))
> +        (sha256
> +          (base32
> +            "08rjn3x1qag60wawjnq95wmgijrn33apr4fhj01s2p6hmrqgfj1l"))))
> +    (build-system python-build-system)
> +    (propagated-inputs
> +     `(("python-docutils" ,python-docutils)
> +       ("python-mistune" ,python-mistune)))
> +    (home-page "https://github.com/miyakogi/m2r";)
> +    (synopsis "Markdown to reStructuredText converter")
> +    (description "M2R converts a markdown file including reST markups to a
> +valid reST format.")
> +    (license license:expat)))
> +
> +(define-public python2-m2r
> +  (package-with-python2 python-m2r))

LGTM (apart from indentation..)!

> +
>  (define-public python-constantly
>    (package
>      (name "python-constantly")
> -- 
> 2.11.1

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]