nixpkgs-suyu/pkgs/development/python-modules/consul/default.nix

25 lines
663 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
, requests, six, pytest }:
buildPythonPackage rec {
pname = "python-consul";
2018-06-12 18:46:59 +02:00
version = "1.0.1";
src = fetchPypi {
inherit pname version;
2018-06-12 18:46:59 +02:00
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 ];
};
}