Fabian Affolter 2024-01-10 09:15:09 +01:00
parent 868769dc6c
commit 960d0319f3

View file

@ -1,6 +1,6 @@
{ lib
, aiohttp
, aresponses
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, geojson
@ -9,32 +9,37 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "aio-geojson-client";
version = "0.18";
format = "setuptools";
version = "0.19";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-client";
rev = "refs/tags/v${version}";
hash = "sha256-nvfy1XLiMjyCiQo/YuzRbDtxGmAUAiq8UJwS/SkN3oM=";
hash = "sha256-ia8nfU5/dcLq3ctJTvpDmvB24mCjO3JrkfQsuXPR+xs=";
};
__darwinAllowLocalNetworking = true;
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
geojson
haversine
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
aresponses
aioresponses
mock
pytest-asyncio
pytestCheckHook