3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #168968 from fabaff/aio-geojson-generic-client

python3Packages.aio-geojson-generic-client: init at 0.1
This commit is contained in:
Martin Weinelt 2022-04-16 23:25:18 +02:00 committed by GitHub
commit fc7fc32ecb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 56 additions and 1 deletions

View file

@ -0,0 +1,51 @@
{ lib
, aiohttp
, aresponses
, asynctest
, buildPythonPackage
, aio-geojson-client
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "aio-geojson-generic-client";
version = "0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-geojson-generic-client";
rev = "v${version}";
hash = "sha256-6Gc3SRRQiISBZnCg7a+rCQHR4NQipBHmG5gWZZXIsxY=";
};
propagatedBuildInputs = [
aiohttp
aio-geojson-client
pytz
];
checkInputs = [
aresponses
asynctest
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";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -947,7 +947,8 @@
geniushub-client
];
"geo_json_events" = ps: with ps; [
]; # missing inputs: aio_geojson_generic_client
aio-geojson-generic-client
];
"geo_location" = ps: with ps; [
];
"geo_rss_events" = ps: with ps; [
@ -3300,6 +3301,7 @@
"generic"
"generic_hygrostat"
"generic_thermostat"
"geo_json_events"
"geo_location"
"geo_rss_events"
"geofency"

View file

@ -229,6 +229,8 @@ in {
aio-geojson-client = callPackage ../development/python-modules/aio-geojson-client { };
aio-geojson-generic-client = callPackage ../development/python-modules/aio-geojson-generic-client { };
aio-geojson-geonetnz-quakes = callPackage ../development/python-modules/aio-geojson-geonetnz-quakes { };
aio-geojson-geonetnz-volcano = callPackage ../development/python-modules/aio-geojson-geonetnz-volcano { };