2021-06-05 16:39:31 +02:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, aresponses
|
|
|
|
, asynctest
|
|
|
|
, buildPythonPackage
|
|
|
|
, dateparser
|
|
|
|
, fetchFromGitHub
|
|
|
|
, haversine
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
, xmltodict
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aio-georss-client";
|
2021-06-19 03:34:32 +02:00
|
|
|
version = "0.8";
|
2021-06-05 16:39:31 +02:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exxamalte";
|
|
|
|
repo = "python-aio-georss-client";
|
|
|
|
rev = "v${version}";
|
2021-06-19 03:34:32 +02:00
|
|
|
sha256 = "0447scp5n906p8kfzy0lwdq06f6hkq71r2zala6g3vr6b3kla6h8";
|
2021-06-05 16:39:31 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
haversine
|
|
|
|
xmltodict
|
|
|
|
requests
|
|
|
|
dateparser
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
aresponses
|
|
|
|
asynctest
|
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "aio_georss_client" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for accessing GeoRSS feeds";
|
|
|
|
homepage = "https://github.com/exxamalte/python-aio-georss-client";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|