[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: Add python-automat.
From: |
Ricardo Wurmus |
Subject: |
05/08: gnu: Add python-automat. |
Date: |
Tue, 10 Oct 2017 17:09:53 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 96cb5ca1f2418871a53c6993aae6209016681ce1
Author: Troy Sankey <address@hidden>
Date: Tue Feb 21 14:19:52 2017 -0500
gnu: Add python-automat.
* gnu/packages/python.scm (python-automat, python2-automat): New variables.
Co-authored-by: Ricardo Wurmus <address@hidden>
---
gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5b77a25..c9e52c9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14228,6 +14228,39 @@ 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.6.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "Automat" version))
+ (sha256
+ (base32
+ "1a7nsrljysfmdqmpn2apfa1gg6rfah4y9sizvns8gb08rx7d07rw"))))
+ (build-system python-build-system)
+ ;; We disable the tests because they require python-twisted, while
+ ;; python-twisted depends on python-automat. Twisted is optional, but the
+ ;; tests fail if it is not available. Also see
+ ;; <https://github.com/glyph/automat/issues/71>.
+ (arguments '(#:tests? #f))
+ (native-inputs
+ `(("python-m2r" ,python-m2r)
+ ("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-graphviz" ,python-graphviz)))
+ (propagated-inputs
+ `(("python-six" ,python-six)
+ ("python-attrs" ,python-attrs)))
+ (home-page "https://github.com/glyph/Automat")
+ (synopsis "Self-service finite-state machines")
+ (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")
- branch master updated (4b8b441 -> 3f81ca3), Ricardo Wurmus, 2017/10/10
- 03/08: gnu: Add python-m2r., Ricardo Wurmus, 2017/10/10
- 07/08: gnu: python-twisted: Update to 17.1.0., Ricardo Wurmus, 2017/10/10
- 05/08: gnu: Add python-automat.,
Ricardo Wurmus <=
- 04/08: gnu: Add python-graphviz., Ricardo Wurmus, 2017/10/10
- 06/08: gnu: Add python-incremental., Ricardo Wurmus, 2017/10/10
- 02/08: gnu: Add python-constantly., Ricardo Wurmus, 2017/10/10
- 01/08: gnu: Add python-attrs., Ricardo Wurmus, 2017/10/10
- 08/08: gnu: alot: Update to 0.5.1., Ricardo Wurmus, 2017/10/10