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