python.pkgs.docker_compose: fixup

This commit is contained in:
Frederik Rietdijk 2017-12-30 11:03:43 +01:00
parent dab53a9005
commit e21ac0ceae

View File

@ -3,12 +3,11 @@
, pyyaml, backports_ssl_match_hostname, colorama, docopt
, dockerpty, docker, ipaddress, jsonschema, requests
, six, texttable, websocket_client, cached-property
, enum34, functools32
, enum34, functools32,
}:
buildPythonApplication rec {
version = "1.18.0";
pname = "docker-compose";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
@ -17,7 +16,7 @@ buildPythonApplication rec {
# lots of networking and other fails
doCheck = false;
buildInputs = [ mock pytest nose ];
checkInputs = [ mock pytest nose ];
propagatedBuildInputs = [
pyyaml backports_ssl_match_hostname colorama dockerpty docker
ipaddress jsonschema requests six texttable websocket_client
@ -26,7 +25,7 @@ buildPythonApplication rec {
stdenv.lib.optional (pythonOlder "3.4") enum34 ++
stdenv.lib.optional (pythonOlder "3.2") functools32;
patchPhase = ''
postPatch = ''
# Remove upper bound on requires, see also
# https://github.com/docker/compose/issues/4431
sed -i "s/, < .*',$/',/" setup.py