2022-04-27 09:35:20 +00:00
|
|
|
{ lib
|
2024-01-13 08:15:51 +00:00
|
|
|
, aio-geojson-client
|
2022-04-27 09:35:20 +00:00
|
|
|
, aiohttp
|
2024-01-13 08:15:51 +00:00
|
|
|
, aioresponses
|
2022-04-27 09:35:20 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2024-01-13 08:15:51 +00:00
|
|
|
, geojson
|
2022-04-27 09:35:20 +00:00
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, pytz
|
2024-01-13 08:15:51 +00:00
|
|
|
, setuptools
|
2022-04-27 09:35:20 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aio-geojson-generic-client";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "0.4";
|
|
|
|
pyproject = true;
|
2022-04-27 09:35:20 +00:00
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exxamalte";
|
|
|
|
repo = "python-aio-geojson-generic-client";
|
2023-02-02 18:25:31 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-065aPocJFOTn+naedxRJ7U/b7hjrYViu2MEUsBpQ9cY=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
aio-geojson-client
|
2024-01-13 08:15:51 +00:00
|
|
|
geojson
|
2022-04-27 09:35:20 +00:00
|
|
|
pytz
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2024-01-13 08:15:51 +00:00
|
|
|
aioresponses
|
2022-04-27 09:35:20 +00:00
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"aio_geojson_generic_client"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for accessing GeoJSON feeds";
|
|
|
|
homepage = "https://github.com/exxamalte/python-aio-geojson-generic-client";
|
2023-02-02 18:25:31 +00:00
|
|
|
changelog = "https://github.com/exxamalte/python-aio-geojson-generic-client/blob/v${version}/CHANGELOG.md";
|
2022-04-27 09:35:20 +00:00
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|