nixpkgs-suyu/pkgs/development/python-modules/consul/default.nix
2018-06-21 07:49:05 +02:00

24 lines
663 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, requests, six, pytest }:
buildPythonPackage rec {
pname = "python-consul";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0feb7a14b6869bbfa9eb4868e823f040e3642b84e80c39ffdff3a8b7fd7017c4";
};
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 ];
};
}