lol
1{ lib
2, aio-georss-client
3, aresponses
4, buildPythonPackage
5, dateparser
6, fetchFromGitHub
7, pytest-asyncio
8, pytestCheckHook
9, pythonOlder
10}:
11
12buildPythonPackage rec {
13 pname = "aio-georss-gdacs";
14 version = "0.8";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchFromGitHub {
20 owner = "exxamalte";
21 repo = "python-aio-georss-gdacs";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-1mpOWd4Z2gTQtRewWfZsfEtmS6i5uMPAMTlC8UpawxM=";
24 };
25
26 propagatedBuildInputs = [
27 aio-georss-client
28 dateparser
29 ];
30
31 __darwinAllowLocalNetworking = true;
32
33 nativeCheckInputs = [
34 aresponses
35 pytest-asyncio
36 pytestCheckHook
37 ];
38
39 pythonImportsCheck = [
40 "aio_georss_gdacs"
41 ];
42
43 meta = with lib; {
44 description = "Python library for accessing GeoRSS feeds";
45 homepage = "https://github.com/exxamalte/python-aio-georss-gdacs";
46 changelog = "https://github.com/exxamalte/python-aio-georss-gdacs/releases/tag/v${version}";
47 license = with licenses; [ asl20 ];
48 maintainers = with maintainers; [ fab ];
49 };
50}