about summary refs log tree commit diff
path: root/pkgs/development/python-modules/consul/default.nix
blob: 5722893a853772702a671479d82c521149d5c8e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildPythonPackage, fetchPypi
, requests, six, pytest }:

buildPythonPackage rec {
  pname = "python-consul";
  version = "0.7.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "ef0b7c8a2d8efba5f9602f45aadbe5035e22a511d245624ed732af81223a6571";
  };

  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 ];
  };
}