[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/16] gnu: Add python-consul.
From: |
Efraim Flashner |
Subject: |
[PATCH 11/16] gnu: Add python-consul. |
Date: |
Sun, 11 Sep 2016 21:58:52 +0300 |
* gnu/packages/python.scm (python-consul): New variable.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5ab8ed1..4d151a3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10284,6 +10284,36 @@ interface for programs.")
`(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
+(define-public python-consul
+ (package
+ (name "python-consul")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-consul" version))
+ (sha256
+ (base32
+ "0rfyxcy4cr3x848vhx876ifalxd5ghq6l5x813m49h4vq2d4jiq8"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-requests" ,python-requests)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/cablehead/python-consul")
+ (synopsis "Python client for Consul")
+ (description
+ "Python client for @url{http://www.consul.io/,Consul}, a tool for service
+discovery, monitoring and configuration.")
+ (license license:expat)))
+
+(define-public python2-consul
+ (let ((consul (package-with-python2 python-consul)))
+ (package (inherit consul)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs consul))))))
+
(define-public python-schematics
(package
(name "python-schematics")
--
2.10.0
- Re: [PATCH 04/16] gnu: Add python-pytest-mock., (continued)
- [PATCH 05/16] gnu: Add python-graphql-core., Efraim Flashner, 2016/09/11
- [PATCH 06/16] gnu: Add python-graphql-relay., Efraim Flashner, 2016/09/11
- [PATCH 07/16] gnu: Add python-sqlalchemy-utils., Efraim Flashner, 2016/09/11
- [PATCH 12/16] gnu: Add python-cov-core., Efraim Flashner, 2016/09/11
- [PATCH 08/16] gnu: Add python-pytest-django., Efraim Flashner, 2016/09/11
- [PATCH 13/16] gnu: Add python-nose2., Efraim Flashner, 2016/09/11
- [PATCH 09/16] gnu: Add python-django-filter., Efraim Flashner, 2016/09/11
- [PATCH 11/16] gnu: Add python-consul.,
Efraim Flashner <=
- [PATCH 10/16] gnu: Add python-graphene., Efraim Flashner, 2016/09/11
- [PATCH 14/16] gnu: Add python-bcrypt., Efraim Flashner, 2016/09/11
- [PATCH 15/16] gnu: Add python-nautilus., Efraim Flashner, 2016/09/11
- [PATCH 16/16] gnu: Add onionshare., Efraim Flashner, 2016/09/11
- Re: [PATCH 00/16] Add onionshare, Efraim Flashner, 2016/09/11