From 620b59eac93a90d35ed957120dee0926c9f72be4 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sat, 3 Jun 2017 08:22:12 +0200 Subject: gnu: Add python-flex. * gnu/packages/python.scm (python-flex, python2-flex): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages') 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)) -- cgit v1.2.3