summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-03-09 17:36:45 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-03-09 17:36:45 +0100
commitb9420fd0d26a9b2079008af34b767cf469412bc1 (patch)
tree93b8c5e192b0a6a65fae16dd43c17440654aeb9d
parent51339c12e22f46eac2e9ae5b3e543723aa90a082 (diff)
downloadnixpkgs-b9420fd0d26a9b2079008af34b767cf469412bc1.tar
nixpkgs-b9420fd0d26a9b2079008af34b767cf469412bc1.tar.gz
nixpkgs-b9420fd0d26a9b2079008af34b767cf469412bc1.tar.bz2
nixpkgs-b9420fd0d26a9b2079008af34b767cf469412bc1.tar.lz
nixpkgs-b9420fd0d26a9b2079008af34b767cf469412bc1.tar.xz
nixpkgs-b9420fd0d26a9b2079008af34b767cf469412bc1.tar.zst
nixpkgs-b9420fd0d26a9b2079008af34b767cf469412bc1.zip
platformio: Fix version specifiers
-rw-r--r--pkgs/development/embedded/platformio/core.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix
index 61a09e04734..00ee07a5fc5 100644
--- a/pkgs/development/embedded/platformio/core.nix
+++ b/pkgs/development/embedded/platformio/core.nix
@@ -21,10 +21,11 @@ with python3.pkgs; buildPythonApplication rec {
       --subst-var-by SPDX_LICENSE_LIST_DATA '${spdx-license-list-data.json}'
 
     substituteInPlace setup.py \
-      --replace 'uvicorn==%s" % ("0.16.0" if PY36 else "0.19.*")' 'uvicorn>=0.16"' \
-      --replace 'starlette==%s" % ("0.19.1" if PY36 else "0.21.*")' 'starlette>=0.19.1"' \
+      --replace 'aiofiles==%s" % ("0.8.0" if PY36 else "22.1.*")' 'aiofiles"' \
+      --replace 'starlette==%s" % ("0.19.1" if PY36 else "0.23.*")' 'starlette"' \
+      --replace 'uvicorn==%s" % ("0.16.0" if PY36 else "0.20.*")' 'uvicorn"' \
       --replace 'tabulate==%s" % ("0.8.10" if PY36 else "0.9.*")' 'tabulate>=0.8.10,<=0.9"' \
-      --replace 'wsproto==' 'wsproto>='
+      --replace 'wsproto==%s" % ("1.0.0" if PY36 else "1.2.*")' 'wsproto"'
   '';
 
   propagatedBuildInputs = [