From 24017b0b1cca3b8bf1c977b64655a548a0425d20 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 24 Aug 2021 11:18:30 +0200 Subject: [PATCH] platformio: update override --- pkgs/development/embedded/platformio/core.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix index 344835b831b3..a3dcbdd35fdf 100644 --- a/pkgs/development/embedded/platformio/core.nix +++ b/pkgs/development/embedded/platformio/core.nix @@ -9,11 +9,15 @@ let python = python3.override { packageOverrides = self: super: { aiofiles = super.aiofiles.overridePythonAttrs (oldAttrs: rec { + pname = "aiofiles"; version = "0.6.0"; - src = oldAttrs.src.override { - inherit version; - sha256 = "e0281b157d3d5d59d803e3f4557dcc9a3dff28a4dd4829a9ff478adae50ca092"; + src = fetchFromGitHub { + owner = "Tinche"; + repo = pname; + rev = "v${version}"; + sha256 = "0w23d88q65m06884pfcps661clr11w9wm701ihx6kfxjwga6fkzf"; }; + doCheck = false; }); click = super.click.overridePythonAttrs (oldAttrs: rec {