Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 820 B view raw
1{ stdenv, buildPythonPackage, fetchurl 2, six, requests, websocket_client 3, ipaddress, backports_ssl_match_hostname, docker_pycreds 4}: 5buildPythonPackage rec { 6 version = "2.5.1"; 7 pname = "docker"; 8 name = "${pname}-${version}"; 9 10 src = fetchurl { 11 url = "mirror://pypi/d/docker/${name}.tar.gz"; 12 sha256 = "b876e6909d8d2360e0540364c3a952a62847137f4674f2439320ede16d6db880"; 13 }; 14 15 propagatedBuildInputs = [ 16 six 17 requests 18 websocket_client 19 ipaddress 20 backports_ssl_match_hostname 21 docker_pycreds 22 ]; 23 24 # Flake8 version conflict 25 doCheck = false; 26 27 meta = with stdenv.lib; { 28 description = "An API client for docker written in Python"; 29 homepage = https://github.com/docker/docker-py; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ 32 jgeerds 33 ]; 34 }; 35}