Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / georss-client / default.nix
blobd6529cbf9fec3997477697598118e559b17c3270
1 { lib
2 , buildPythonPackage
3 , dateparser
4 , fetchFromGitHub
5 , haversine
6 , pytestCheckHook
7 , pythonOlder
8 , requests
9 , xmltodict
12 buildPythonPackage rec {
13   pname = "georss-client";
14   version = "0.15";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "exxamalte";
21     repo = "python-georss-client";
22     rev = "v${version}";
23     hash = "sha256-D1ggfEDU+vlFmi1USwdHj1due0PrCQCpKF4zaarHCFs=";
24   };
26   propagatedBuildInputs = [
27     haversine
28     xmltodict
29     requests
30     dateparser
31   ];
33   nativeCheckInputs = [
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [
38     "georss_client"
39   ];
41   meta = with lib; {
42     description = "Python library for accessing GeoRSS feeds";
43     homepage = "https://github.com/exxamalte/python-georss-client";
44     license = with licenses; [ asl20 ];
45     maintainers = with maintainers; [ fab ];
46   };