2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2018-03-31 18:27:28 +01:00
|
|
|
, requests, six, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-consul";
|
2018-07-22 11:06:59 +01:00
|
|
|
version = "1.1.0";
|
2018-03-31 18:27:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:06:59 +01:00
|
|
|
sha256 = "168f1fa53948047effe4f14d53fc1dab50192e2a2cf7855703f126f469ea11f4";
|
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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-31 18:27:28 +01:00
|
|
|
description = "Python client for Consul (https://www.consul.io/)";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/cablehead/python-consul";
|
2018-03-31 18:27:28 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
};
|
|
|
|
}
|