2018-03-31 18:27:28 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, requests, six, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-consul";
|
2018-06-12 17:46:59 +01:00
|
|
|
version = "1.0.1";
|
2018-03-31 18:27:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 17:46:59 +01:00
|
|
|
sha256 = "0feb7a14b6869bbfa9eb4868e823f040e3642b84e80c39ffdff3a8b7fd7017c4";
|
2018-03-31 18:27:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ requests six pytest ];
|
|
|
|
|
|
|
|
# No tests distributed. https://github.com/cablehead/python-consul/issues/133
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python client for Consul (https://www.consul.io/)";
|
|
|
|
homepage = https://github.com/cablehead/python-consul;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
};
|
|
|
|
}
|