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
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "168f1fa53948047effe4f14d53fc1dab50192e2a2cf7855703f126f469ea11f4";
17 };
18
19 buildInputs = [
20 requests
21 six
22 pytest
23 ];
24
25 # No tests distributed. https://github.com/cablehead/python-consul/issues/133
26 doCheck = false;
27
28 meta = with lib; {
29 description = "Python client for Consul (https://www.consul.io/)";
30 homepage = "https://github.com/cablehead/python-consul";
31 license = licenses.mit;
32 maintainers = with maintainers; [ desiderius ];
33 };
34}