2021-06-05 15:50:55 +01:00
|
|
|
{ lib
|
|
|
|
, aio-georss-client
|
|
|
|
, aresponses
|
|
|
|
, buildPythonPackage
|
|
|
|
, dateparser
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aio-georss-gdacs";
|
2022-02-21 04:11:14 +00:00
|
|
|
version = "0.6";
|
2022-02-18 21:46:45 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2021-06-05 15:50:55 +01:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exxamalte";
|
|
|
|
repo = "python-aio-georss-gdacs";
|
|
|
|
rev = "v${version}";
|
2022-02-21 04:11:14 +00:00
|
|
|
sha256 = "sha256-sUHVmueu70ZnXP8KoJ2mDzzEedzXYHM2yeGC4oVsZZU=";
|
2021-06-05 15:50:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aio-georss-client
|
|
|
|
dateparser
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
aresponses
|
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2022-02-18 21:46:45 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"aio_georss_gdacs"
|
|
|
|
];
|
2021-06-05 15:50:55 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for accessing GeoRSS feeds";
|
|
|
|
homepage = "https://github.com/exxamalte/python-aio-georss-gdacs";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|