From a7c72bdc912a16cbdda2d5fa3d730526c8771796 Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Wed, 15 Dec 2021 17:51:13 +0100 Subject: [PATCH] platformio: 5.2.3 -> 5.2.4 --- pkgs/development/embedded/platformio/core.nix | 24 +++++++++---------- .../embedded/platformio/default.nix | 4 ++-- .../use-local-spdx-license-list.patch | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix index 7d586760548e..711d31be3650 100644 --- a/pkgs/development/embedded/platformio/core.nix +++ b/pkgs/development/embedded/platformio/core.nix @@ -9,6 +9,16 @@ let python = python3.override { packageOverrides = self: super: { + aiofiles = super.aiofiles.overridePythonAttrs (oldAttrs: rec { + version = "0.8.0"; + src = fetchFromGitHub { + owner = "Tinche"; + repo = "aiofiles"; + rev = "v${version}"; + sha256 = "0mr9pzji4vqyf2yzh8yxz5q7fm8mgmkimx1xh49wh625m72pxcap"; + }; + }); + asgiref = super.asgiref.overridePythonAttrs (oldAttrs: rec { version = "3.4.1"; src = fetchFromGitHub { @@ -41,22 +51,12 @@ let }); uvicorn = super.uvicorn.overridePythonAttrs (oldAttrs: rec { - version = "0.15.0"; + version = "0.16.0"; src = fetchFromGitHub { owner = "encode"; repo = "uvicorn"; rev = version; - sha256 = "074smp3448wcazlhc7sb8r54l4kfavr6yks3w5x60zl1qpijf52r"; - }; - }); - - zeroconf = super.zeroconf.overridePythonAttrs (oldAttrs: rec { - version = "0.36.13"; - src = fetchFromGitHub { - owner = "jstasiak"; - repo = "python-zeroconf"; - rev = version; - sha256 = "aYNb67ESyz2Q2CKLhG+/Z8Xtt0Js8uf+xrVSEpY0X8c="; + sha256 = "14jih6j4q2qp5c9rgl798i5p51b4y6zkkj434q2l1naw0csphk4s"; }; }); }; diff --git a/pkgs/development/embedded/platformio/default.nix b/pkgs/development/embedded/platformio/default.nix index ab2b989696c1..5bbc54916369 100644 --- a/pkgs/development/embedded/platformio/default.nix +++ b/pkgs/development/embedded/platformio/default.nix @@ -4,14 +4,14 @@ let callPackage = newScope self; - version = "5.2.3"; + version = "5.2.4"; # pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964 src = fetchFromGitHub { owner = "platformio"; repo = "platformio-core"; rev = "v${version}"; - sha256 = "0wbmwawn25srkyrd6hwrgli1himzsj08vbm76fgnpqdc84n78ckl"; + sha256 = "1dhyxrdxrca669qm6alxxn2jmvcwlpqrx9kfwh4iqy9za5717ag9"; }; self = { diff --git a/pkgs/development/embedded/platformio/use-local-spdx-license-list.patch b/pkgs/development/embedded/platformio/use-local-spdx-license-list.patch index e8239150f380..b56018902858 100644 --- a/pkgs/development/embedded/platformio/use-local-spdx-license-list.patch +++ b/pkgs/development/embedded/platformio/use-local-spdx-license-list.patch @@ -6,7 +6,7 @@ index 416dccfd..896c3649 100644 @staticmethod @memoized(expire="1h") def load_spdx_licenses(): -- version = "3.14" +- version = "3.15" - spdx_data_url = ( - "https://raw.githubusercontent.com/spdx/license-list-data/" - "v%s/json/licenses.json" % version