From dae79f1dbba498b6e1fb59fabcde96d26d773cce Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 26 Aug 2022 11:13:57 +0200 Subject: [PATCH] python310Packages.accuweather: 0.3.0 -> 0.4.0 --- .../python-modules/accuweather/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/accuweather/default.nix b/pkgs/development/python-modules/accuweather/default.nix index 618510363683..c5040b0feace 100644 --- a/pkgs/development/python-modules/accuweather/default.nix +++ b/pkgs/development/python-modules/accuweather/default.nix @@ -3,6 +3,7 @@ , aioresponses , buildPythonPackage , fetchFromGitHub +, orjson , pytest-asyncio , pytest-error-for-skips , pytestCheckHook @@ -11,14 +12,16 @@ buildPythonPackage rec { pname = "accuweather"; - version = "0.3.0"; - disabled = pythonOlder "3.6"; + version = "0.4.0"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "bieniu"; repo = pname; rev = version; - sha256 = "sha256-Kn2hP0mdnC4+Lk8wsTznC23CsYLYKhya+HlHox1Fo2o="; + hash = "sha256-NnDpSOEIqPuPLIr0Ty6yjrs9WRKyhykcdyiRPB/cHEw="; }; postPatch = '' @@ -30,6 +33,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ aiohttp + orjson ]; checkInputs = [ @@ -39,7 +43,9 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "accuweather" ]; + pythonImportsCheck = [ + "accuweather" + ]; meta = with lib; { description = "Python wrapper for getting weather data from AccuWeather servers";