depot/third_party/nixpkgs/pkgs/development/python-modules/consul/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

24 lines
663 B
Nix

{ lib, stdenv, buildPythonPackage, fetchPypi
, requests, six, pytest }:
buildPythonPackage rec {
pname = "python-consul";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "168f1fa53948047effe4f14d53fc1dab50192e2a2cf7855703f126f469ea11f4";
};
buildInputs = [ requests six pytest ];
# No tests distributed. https://github.com/cablehead/python-consul/issues/133
doCheck = false;
meta = with lib; {
description = "Python client for Consul (https://www.consul.io/)";
homepage = "https://github.com/cablehead/python-consul";
license = licenses.mit;
maintainers = with maintainers; [ desiderius ];
};
}