summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-06-03 08:22:12 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2017-06-04 15:41:42 +0200
commit620b59eac93a90d35ed957120dee0926c9f72be4 (patch)
tree5a76ed796e0ab046d7f058bfef34b808349cc473 /gnu/packages
parent0960bf8b3976dcdc9554c288d16d229bc145ea8f (diff)
downloadguix-620b59eac93a90d35ed957120dee0926c9f72be4.tar.gz
gnu: Add python-flex.
* gnu/packages/python.scm (python-flex, python2-flex): New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8adf658f7e..c2e9487e42 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15142,3 +15142,32 @@ address is valid and really exists.")
 
 (define-public python2-validate-email
   (package-with-python2 python-validate-email))
+
+(define-public python-flex
+  (package
+    (name "python-flex")
+    (version "6.10.0")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (pypi-uri "flex" version))
+      (sha256
+       (base32
+        "00pamnwla3khk8nyla7y28dq9jnh69swd7f4jfsl7sn1izs8n8zk"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-click" ,python-click)
+       ("python-iso8601" ,python-iso8601)
+       ("python-jsonpointer" ,python-jsonpointer)
+       ("python-pyyaml" ,python-pyyaml)
+       ("python-requests" ,python-requests)
+       ("python-rfc3987" ,python-rfc3987)
+       ("python-six" ,python-six)
+       ("python-validate-email" ,python-validate-email)))
+    (home-page "https://github.com/pipermerriam/flex")
+    (synopsis "Validates Swagger schemata")
+    (description "@code{flex} can be used to validate Swagger schemata.")
+    (license license:bsd-3)))
+
+(define-public python2-flex
+  (package-with-python2 python-flex))