Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 34 lines 766 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, six, requests, websocket_client 3, ipaddress, backports_ssl_match_hostname, docker_pycreds 4}: 5buildPythonPackage rec { 6 version = "3.7.0"; 7 pname = "docker"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "2840ffb9dc3ef6d00876bde476690278ab13fa1f8ba9127ef855ac33d00c3152"; 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}