python3Packages.aio-geojson-client: init at 0.14

This commit is contained in:
Fabian Affolter 2021-06-06 00:06:34 +02:00
parent 6831fd3fc5
commit ade0e5bd30
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, aiohttp
, aresponses
, asynctest
, buildPythonPackage
, fetchFromGitHub
, geojson
, haversine
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aio-geojson-client";
version = "0.14";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-client";
rev = "v${version}";
sha256 = "1nk0mas71n1bn4wc7pcv279i1b5mxy9phyc8ppxlb16kbjnjj0h8";
};
propagatedBuildInputs = [
aiohttp
geojson
haversine
];
checkInputs = [
aresponses
asynctest
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aio_geojson_client" ];
meta = with lib; {
description = "Python module for accessing GeoJSON feeds";
homepage = "https://github.com/exxamalte/python-aio-geojson-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -225,6 +225,8 @@ in {
agent-py = callPackage ../development/python-modules/agent-py { };
aio-geojson-client = callPackage ../development/python-modules/aio-geojson-client { };
aio-georss-client = callPackage ../development/python-modules/aio-georss-client { };
aio-georss-gdacs = callPackage ../development/python-modules/aio-georss-gdacs { };