Merge pull request #168968 from fabaff/aio-geojson-generic-client
python3Packages.aio-geojson-generic-client: init at 0.1
This commit is contained in:
commit
fc7fc32ecb
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue