Loading pkgs/development/python-modules/aioambient/default.nix +5 −6 Original line number Diff line number Diff line { lib , aiohttp , aresponses , asynctest , buildPythonPackage , fetchFromGitHub , poetry-core Loading @@ -19,19 +18,19 @@ buildPythonPackage rec { version = "2022.10.0"; format = "pyproject"; disabled = pythonOlder "3.7"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "bachya"; repo = pname; rev = version; sha256 = "sha256-Oppi4J0TuLbqwVn1Hpa4xcU9c/I+YDP3E0VXwiP8a/w="; rev = "refs/tags/${version}"; hash = "sha256-Oppi4J0TuLbqwVn1Hpa4xcU9c/I+YDP3E0VXwiP8a/w="; }; postPatch = '' # https://github.com/bachya/aioambient/pull/97 substituteInPlace pyproject.toml \ --replace 'websockets = ">=8.1,<10.0"' 'websockets = ">=8.1,<11.0"' --replace 'websockets = ">=9.1,<11.0"' 'websockets = "*"' ''; nativeBuildInputs = [ Loading @@ -47,7 +46,6 @@ buildPythonPackage rec { nativeCheckInputs = [ aresponses asynctest pytest-aiohttp pytest-asyncio pytestCheckHook Loading @@ -65,6 +63,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python library for the Ambient Weather API"; homepage = "https://github.com/bachya/aioambient"; changelog = "https://github.com/bachya/aioambient/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; Loading Loading
pkgs/development/python-modules/aioambient/default.nix +5 −6 Original line number Diff line number Diff line { lib , aiohttp , aresponses , asynctest , buildPythonPackage , fetchFromGitHub , poetry-core Loading @@ -19,19 +18,19 @@ buildPythonPackage rec { version = "2022.10.0"; format = "pyproject"; disabled = pythonOlder "3.7"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "bachya"; repo = pname; rev = version; sha256 = "sha256-Oppi4J0TuLbqwVn1Hpa4xcU9c/I+YDP3E0VXwiP8a/w="; rev = "refs/tags/${version}"; hash = "sha256-Oppi4J0TuLbqwVn1Hpa4xcU9c/I+YDP3E0VXwiP8a/w="; }; postPatch = '' # https://github.com/bachya/aioambient/pull/97 substituteInPlace pyproject.toml \ --replace 'websockets = ">=8.1,<10.0"' 'websockets = ">=8.1,<11.0"' --replace 'websockets = ">=9.1,<11.0"' 'websockets = "*"' ''; nativeBuildInputs = [ Loading @@ -47,7 +46,6 @@ buildPythonPackage rec { nativeCheckInputs = [ aresponses asynctest pytest-aiohttp pytest-asyncio pytestCheckHook Loading @@ -65,6 +63,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python library for the Ambient Weather API"; homepage = "https://github.com/bachya/aioambient"; changelog = "https://github.com/bachya/aioambient/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; Loading