guix-patches
[Top][All Lists]
Advanced

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

bug#25812: [PATCH 5/8] gnu: Add python-automat.


From: Marius Bakke
Subject: bug#25812: [PATCH 5/8] gnu: Add python-automat.
Date: Mon, 06 Mar 2017 14:04:23 +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-automat, python2-automat): New
> variables.

LGTM (again, with indentation fix).

> ---
>  gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 5e2da0b27..e91beff18 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -12709,6 +12709,35 @@ Python.  It is based on Parsing Expression Grammars, 
> PEG.  With pyPEG you can
>  parse many formal languages.")
>      (license license:gpl2)))
>  
> +(define-public python-automat
> +  (package
> +    (name "python-automat")
> +    (version "0.5.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "Automat" version))
> +        (sha256
> +          (base32
> +            "1hnpknkqnc2m900kkzrzx9l6g5dy5dassrdj9pn34x1pcdkyr2a8"))))
> +    (build-system python-build-system)
> +    (native-inputs
> +     `(("python-m2r" ,python-m2r)
> +       ("python-setuptools-scm" ,python-setuptools-scm)))
> +    (propagated-inputs
> +     `(("python-six" ,python-six)
> +       ("python-attrs" ,python-attrs)))
> +    (home-page "https://github.com/glyph/Automat";)
> +    (synopsis
> +      "Self-service finite-state machines for the programmer on the go")
> +    (description "Automat is a library for concise, idiomatic Python 
> expression
> +of finite-state automata (particularly deterministic finite-state
> +transducers).")
> +    (license license:expat)))
> +
> +(define-public python2-automat
> +  (package-with-python2 python-automat))
> +
>  (define-public python-m2r
>    (package
>      (name "python-m2r")
> -- 
> 2.11.1

Attachment: signature.asc
Description: PGP signature


reply via email to

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