1{ stdenv, buildPythonPackage, fetchPypi
2, six, requests, websocket_client
3, ipaddress, backports_ssl_match_hostname, docker_pycreds
4}:
5buildPythonPackage rec {
6 version = "2.7.0";
7 pname = "docker";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "144248308e8ea31c4863c6d74e1b55daf97cc190b61d0fe7b7313ab920d6a76c";
12 };
13
14 propagatedBuildInputs = [
15 six
16 requests
17 websocket_client
18 ipaddress
19 backports_ssl_match_hostname
20 docker_pycreds
21 ];
22
23 # Flake8 version conflict
24 doCheck = false;
25
26 meta = with stdenv.lib; {
27 description = "An API client for docker written in Python";
28 homepage = https://github.com/docker/docker-py;
29 license = licenses.asl20;
30 maintainers = with maintainers; [
31 jgeerds
32 ];
33 };
34}