summary refs log tree commit diff
path: root/pkgs/development/embedded/platformio/core.nix
diff options
context:
space:
mode:
authorarcnmx <git@git.arcn.mx>2022-11-01 12:30:14 -0700
committerarcnmx <git@git.arcn.mx>2022-11-08 07:01:42 -0800
commitb5bf049ab1a5a727a980cd074915ab0962eb417d (patch)
treedadebaeb126cad9c913c1342e054470edcc7e8aa /pkgs/development/embedded/platformio/core.nix
parentfd76db7cb42ec0347a0d72e69734da4722405e1d (diff)
downloadnixpkgs-b5bf049ab1a5a727a980cd074915ab0962eb417d.tar
nixpkgs-b5bf049ab1a5a727a980cd074915ab0962eb417d.tar.gz
nixpkgs-b5bf049ab1a5a727a980cd074915ab0962eb417d.tar.bz2
nixpkgs-b5bf049ab1a5a727a980cd074915ab0962eb417d.tar.lz
nixpkgs-b5bf049ab1a5a727a980cd074915ab0962eb417d.tar.xz
nixpkgs-b5bf049ab1a5a727a980cd074915ab0962eb417d.tar.zst
nixpkgs-b5bf049ab1a5a727a980cd074915ab0962eb417d.zip
platformio: 6.1.4 -> 6.1.5
Diffstat (limited to 'pkgs/development/embedded/platformio/core.nix')
-rw-r--r--pkgs/development/embedded/platformio/core.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix
index bcbcbdcb2ca..afd60ec2aeb 100644
--- a/pkgs/development/embedded/platformio/core.nix
+++ b/pkgs/development/embedded/platformio/core.nix
@@ -21,8 +21,9 @@ with python3.pkgs; buildPythonApplication rec {
       --subst-var-by SPDX_LICENSE_LIST_DATA '${spdx-license-list-data.json}'
 
     substituteInPlace setup.py \
-      --replace 'uvicorn==%s" % ("0.17.*"' 'uvicorn==%s" % ("0.18.*"' \
-      --replace 'aiofiles==0.8.*' 'aiofiles==22.1.*' \
+      --replace 'uvicorn==%s" % ("0.16.0" if PY36 else "0.19.*")' 'uvicorn>=0.16,<=0.19"' \
+      --replace 'starlette==%s" % ("0.19.1" if PY36 else "0.21.*")' 'starlette>=0.19.1,<=0.21"' \
+      --replace 'tabulate==%s" % ("0.8.10" if PY36 else "0.9.*")' 'tabulate>=0.8.10,<=0.9"' \
       --replace 'wsproto==' 'wsproto>='
   '';