pythonPackages.docker: 3.7.2 -> 4.0.1

This commit is contained in:
Jonathan Ringer 2019-06-19 17:44:24 -07:00
parent 71b7116f12
commit 7b6ef636ab

View file

@ -1,33 +1,38 @@
{ stdenv, buildPythonPackage, fetchPypi { stdenv, buildPythonPackage, fetchPypi, isPy27
, six, requests, websocket_client , six, requests, websocket_client, mock, pytest
, ipaddress, backports_ssl_match_hostname, docker_pycreds , paramiko, backports_ssl_match_hostname
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.7.2"; version = "4.0.1";
pname = "docker"; pname = "docker";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "c456ded5420af5860441219ff8e51cdec531d65f4a9e948ccd4133e063b72f50"; sha256 = "1284sqy3r6nxyz43vrpzqf25hsidpr0v4cgnbvavg2dl47bkf77n";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
six six
requests requests
websocket_client websocket_client
ipaddress paramiko
backports_ssl_match_hostname ] ++ stdenv.lib.optional isPy27 backports_ssl_match_hostname;
docker_pycreds
checkInputs = [
mock
pytest
]; ];
# Flake8 version conflict # Other tests touch network
doCheck = false; checkPhase = ''
${pytest}/bin/pytest tests/unit/
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An API client for docker written in Python"; description = "An API client for docker written in Python";
homepage = https://github.com/docker/docker-py; homepage = https://github.com/docker/docker-py;
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ maintainers = with maintainers; [ jonringer ];
];
}; };
} }