1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, georss-client
5, pytestCheckHook
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "georss-generic-client";
11 version = "0.7";
12 disabled = pythonOlder "3.7";
13
14 src = fetchFromGitHub {
15 owner = "exxamalte";
16 repo = "python-georss-generic-client";
17 rev = "v${version}";
18 hash = "sha256-58NpACrJK29NUnx3RrsLFPPo+6A/JlIlkrv8N9juMu0=";
19 };
20
21 propagatedBuildInputs = [
22 georss-client
23 ];
24
25 nativeCheckInputs = [
26 pytestCheckHook
27 ];
28
29 pythonImportsCheck = [ "georss_generic_client" ];
30
31 meta = with lib; {
32 description = "Python library for accessing generic GeoRSS feeds";
33 homepage = "https://github.com/exxamalte/python-georss-generic-client";
34 license = with licenses; [ asl20 ];
35 maintainers = with maintainers; [ fab ];
36 };
37}