1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 requests,
6 six,
7 pytest,
8}:
9
10buildPythonPackage rec {
11 pname = "python-consul";
12 version = "1.1.0";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "168f1fa53948047effe4f14d53fc1dab50192e2a2cf7855703f126f469ea11f4";
18 };
19
20 buildInputs = [
21 requests
22 six
23 pytest
24 ];
25
26 # No tests distributed. https://github.com/cablehead/python-consul/issues/133
27 doCheck = false;
28
29 meta = with lib; {
30 description = "Python client for Consul (https://www.consul.io/)";
31 homepage = "https://github.com/cablehead/python-consul";
32 license = licenses.mit;
33 };
34}