2021-06-05 16:50:55 +02:00
|
|
|
{ lib
|
|
|
|
, aio-georss-client
|
|
|
|
, aresponses
|
|
|
|
, buildPythonPackage
|
|
|
|
, dateparser
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aio-georss-gdacs";
|
2023-01-26 21:13:29 +01:00
|
|
|
version = "0.8";
|
2022-02-18 22:46:45 +01:00
|
|
|
format = "setuptools";
|
|
|
|
|
2021-06-05 16:50:55 +02:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exxamalte";
|
|
|
|
repo = "python-aio-georss-gdacs";
|
2023-01-26 21:05:11 +01:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-01-26 21:13:29 +01:00
|
|
|
hash = "sha256-1mpOWd4Z2gTQtRewWfZsfEtmS6i5uMPAMTlC8UpawxM=";
|
2021-06-05 16:50:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aio-georss-client
|
|
|
|
dateparser
|
|
|
|
];
|
|
|
|
|
2023-01-21 13:00:00 +01:00
|
|
|
nativeCheckInputs = [
|
2021-06-05 16:50:55 +02:00
|
|
|
aresponses
|
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2022-02-18 22:46:45 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"aio_georss_gdacs"
|
|
|
|
];
|
2021-06-05 16:50:55 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for accessing GeoRSS feeds";
|
|
|
|
homepage = "https://github.com/exxamalte/python-aio-georss-gdacs";
|
2023-01-26 21:05:11 +01:00
|
|
|
changelog = "https://github.com/exxamalte/python-aio-georss-gdacs/releases/tag/v${version}";
|
2021-06-05 16:50:55 +02:00
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|