about summary refs log tree commit diff
path: root/pkgs/development/python-modules/docker-py/default.nix
blob: 159722a7a756743630001bc206204433ae1783e4 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  buildPythonPackage,
  fetchPypi,
  six,
  requests,
  websocket-client,
  docker-pycreds,
}:

buildPythonPackage rec {
  version = "1.10.6";
  format = "setuptools";
  pname = "docker-py";

  src = fetchPypi {
    inherit pname version;
    sha256 = "05f49f6hnl7npmi7kigg0ibqk8s3fhzx1ivvz1kqvlv4ay3paajc";
  };

  # The tests access the network.
  doCheck = false;

  propagatedBuildInputs = [
    six
    requests
    websocket-client
    docker-pycreds
  ];

  meta = {
    description = "Python library for the Docker Remote API";
    homepage = "https://github.com/docker/docker-py/";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.pmiddend ];
  };
}