From 878978152fabb7aa9a2804df7a8d05a9ac7ff07d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Jan 2024 15:41:51 +0100 Subject: [PATCH] python311Packages.aio-geojson-generic-client: 0.3 -> 0.4 Diff: https://github.com/exxamalte/python-aio-geojson-generic-client/compare/refs/tags/v0.3...v0.4 Changelog: https://github.com/exxamalte/python-aio-geojson-generic-client/blob/v0.4/CHANGELOG.md --- .../aio-geojson-generic-client/default.nix | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/aio-geojson-generic-client/default.nix b/pkgs/development/python-modules/aio-geojson-generic-client/default.nix index 4ff502a2cf83..4d10c5724970 100644 --- a/pkgs/development/python-modules/aio-geojson-generic-client/default.nix +++ b/pkgs/development/python-modules/aio-geojson-generic-client/default.nix @@ -1,39 +1,46 @@ { lib -, aiohttp -, aresponses -, buildPythonPackage , aio-geojson-client +, aiohttp +, aioresponses +, buildPythonPackage , fetchFromGitHub +, geojson , pytest-asyncio , pytestCheckHook , pythonOlder , pytz +, setuptools }: buildPythonPackage rec { pname = "aio-geojson-generic-client"; - version = "0.3"; - format = "setuptools"; + version = "0.4"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "exxamalte"; repo = "python-aio-geojson-generic-client"; rev = "refs/tags/v${version}"; - hash = "sha256-toDvliFMxicaEhlxb7wCadDJErpsIPcZbJz7TpO83GE="; + hash = "sha256-065aPocJFOTn+naedxRJ7U/b7hjrYViu2MEUsBpQ9cY="; }; + __darwinAllowLocalNetworking = true; + + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ aiohttp aio-geojson-client + geojson pytz ]; - __darwinAllowLocalNetworking = true; - nativeCheckInputs = [ - aresponses + aioresponses pytest-asyncio pytestCheckHook ];