nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, aiohttp
3, aresponses
4, asynctest
5, buildPythonPackage
6, dateparser
7, fetchFromGitHub
8, haversine
9, pytest-asyncio
10, pytestCheckHook
11, pythonOlder
12, requests
13, xmltodict
14}:
15
16buildPythonPackage rec {
17 pname = "aio-georss-client";
18 version = "0.8";
19 disabled = pythonOlder "3.7";
20
21 src = fetchFromGitHub {
22 owner = "exxamalte";
23 repo = "python-aio-georss-client";
24 rev = "v${version}";
25 sha256 = "0447scp5n906p8kfzy0lwdq06f6hkq71r2zala6g3vr6b3kla6h8";
26 };
27
28 propagatedBuildInputs = [
29 aiohttp
30 haversine
31 xmltodict
32 requests
33 dateparser
34 ];
35
36 checkInputs = [
37 aresponses
38 asynctest
39 pytest-asyncio
40 pytestCheckHook
41 ];
42
43 pythonImportsCheck = [ "aio_georss_client" ];
44
45 meta = with lib; {
46 description = "Python library for accessing GeoRSS feeds";
47 homepage = "https://github.com/exxamalte/python-aio-georss-client";
48 license = with licenses; [ asl20 ];
49 maintainers = with maintainers; [ fab ];
50 };
51}