python.pkgs.docker_compose: fixup
This commit is contained in:
parent
dab53a9005
commit
e21ac0ceae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user