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