Merge pull request #180948 from fabaff/aio-geojson-usgs-earthquakes
python310Packages.aio-geojson-usgs-earthquakes: init at 0.1
This commit is contained in:
commit
62c1fa3eb3
3 changed files with 56 additions and 1 deletions
|
@ -0,0 +1,51 @@
|
||||||
|
{ lib
|
||||||
|
, aio-geojson-client
|
||||||
|
, aiohttp
|
||||||
|
, aresponses
|
||||||
|
, asynctest
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytz
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "aio-geojson-usgs-earthquakes";
|
||||||
|
version = "0.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "exxamalte";
|
||||||
|
repo = "python-aio-geojson-usgs-earthquakes";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-Hb0/BdK/jjxlPl9WJJpFdOCzZpZDCguXoGreGIyN8oo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aio-geojson-client
|
||||||
|
aiohttp
|
||||||
|
pytz
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
aresponses
|
||||||
|
asynctest
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"aio_geojson_usgs_earthquakes"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module for accessing the U.S. Geological Survey Earthquake Hazards Program feeds";
|
||||||
|
homepage = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2917,7 +2917,8 @@
|
||||||
"uscis" = ps: with ps; [
|
"uscis" = ps: with ps; [
|
||||||
]; # missing inputs: uscisstatus
|
]; # missing inputs: uscisstatus
|
||||||
"usgs_earthquakes_feed" = ps: with ps; [
|
"usgs_earthquakes_feed" = ps: with ps; [
|
||||||
]; # missing inputs: aio_geojson_usgs_earthquakes
|
aio-geojson-usgs-earthquakes
|
||||||
|
];
|
||||||
"utility_meter" = ps: with ps; [
|
"utility_meter" = ps: with ps; [
|
||||||
croniter
|
croniter
|
||||||
];
|
];
|
||||||
|
@ -3803,6 +3804,7 @@
|
||||||
"uptime"
|
"uptime"
|
||||||
"uptimerobot"
|
"uptimerobot"
|
||||||
"usb"
|
"usb"
|
||||||
|
"usgs_earthquakes_feed"
|
||||||
"utility_meter"
|
"utility_meter"
|
||||||
"uvc"
|
"uvc"
|
||||||
"vacuum"
|
"vacuum"
|
||||||
|
|
|
@ -241,6 +241,8 @@ in {
|
||||||
|
|
||||||
aio-geojson-nsw-rfs-incidents = callPackage ../development/python-modules/aio-geojson-nsw-rfs-incidents { };
|
aio-geojson-nsw-rfs-incidents = callPackage ../development/python-modules/aio-geojson-nsw-rfs-incidents { };
|
||||||
|
|
||||||
|
aio-geojson-usgs-earthquakes = callPackage ../development/python-modules/aio-geojson-usgs-earthquakes { };
|
||||||
|
|
||||||
aio-georss-client = callPackage ../development/python-modules/aio-georss-client { };
|
aio-georss-client = callPackage ../development/python-modules/aio-georss-client { };
|
||||||
|
|
||||||
aio-georss-gdacs = callPackage ../development/python-modules/aio-georss-gdacs { };
|
aio-georss-gdacs = callPackage ../development/python-modules/aio-georss-gdacs { };
|
||||||
|
|
Loading…
Reference in a new issue