1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 six,
6 requests,
7 websocket-client,
8 docker-pycreds,
9}:
10
11buildPythonPackage rec {
12 version = "1.10.6";
13 format = "setuptools";
14 pname = "docker-py";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "05f49f6hnl7npmi7kigg0ibqk8s3fhzx1ivvz1kqvlv4ay3paajc";
19 };
20
21 # The tests access the network.
22 doCheck = false;
23
24 propagatedBuildInputs = [
25 six
26 requests
27 websocket-client
28 docker-pycreds
29 ];
30
31 meta = {
32 description = "Python library for the Docker Remote API";
33 homepage = "https://github.com/docker/docker-py/";
34 license = lib.licenses.asl20;
35 maintainers = [ lib.maintainers.pmiddend ];
36 };
37}