From 790c5c3dd80650df28c97dfe5e2e9f125e571fe4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 13 Oct 2021 17:34:12 +0200 Subject: python3Packages.aioambient: 1.3.0 -> 2021.10.1 (cherry picked from commit 0f9e0fb503551f1e75043a04a0b3ef8092dc0b93) --- pkgs/development/python-modules/aioambient/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/aioambient/default.nix b/pkgs/development/python-modules/aioambient/default.nix index d60a62496cd..b71574971fc 100644 --- a/pkgs/development/python-modules/aioambient/default.nix +++ b/pkgs/development/python-modules/aioambient/default.nix @@ -16,18 +16,20 @@ buildPythonPackage rec { pname = "aioambient"; - version = "1.3.0"; + version = "2021.10.1"; format = "pyproject"; - disabled = pythonOlder "3.6"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "bachya"; repo = pname; rev = version; - sha256 = "sha256-blejTXyLe3B2kNytBh+zJz0Q0xDP+Vo2SV9gc7OX6S0="; + sha256 = "sha256-DCh/o7p+lO5BhN3JoLdhImkzfxoyqiscA/6CwwvAnc0="; }; postPatch = '' + # https://github.com/bachya/aioambient/pull/97 substituteInPlace pyproject.toml \ --replace 'websockets = ">=8.1,<10.0"' 'websockets = ">=8.1,<11.0"' ''; @@ -52,9 +54,13 @@ buildPythonPackage rec { ]; # Ignore the examples directory as the files are prefixed with test_ - disabledTestPaths = [ "examples/" ]; + disabledTestPaths = [ + "examples/" + ]; - pythonImportsCheck = [ "aioambient" ]; + pythonImportsCheck = [ + "aioambient" + ]; meta = with lib; { description = "Python library for the Ambient Weather API"; -- cgit 1.4.1