mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
docker-compose: don't require backports_ssl_match_hostname on >= 3.8
This commit is contained in:
parent
a71af661d3
commit
0246a1d337
@ -21,12 +21,12 @@ buildPythonApplication rec {
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
checkInputs = [ mock pytest nose ];
|
||||
propagatedBuildInputs = [
|
||||
pyyaml backports_ssl_match_hostname colorama dockerpty docker
|
||||
pyyaml colorama dockerpty docker
|
||||
ipaddress jsonschema requests six texttable websocket_client
|
||||
docopt cached-property paramiko distro python-dotenv
|
||||
] ++
|
||||
lib.optional (pythonOlder "3.4") enum34 ++
|
||||
lib.optional (pythonOlder "3.2") functools32;
|
||||
] ++ lib.optional (pythonOlder "3.7") backports_ssl_match_hostname
|
||||
++ lib.optional (pythonOlder "3.4") enum34
|
||||
++ lib.optional (pythonOlder "3.2") functools32;
|
||||
|
||||
postPatch = ''
|
||||
# Remove upper bound on requires, see also
|
||||
|
Loading…
Reference in New Issue
Block a user