Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / georss-generic-client / default.nix
blob7e3cb77588937b9c0a91b471c54ee1edf344c72b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , georss-client
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "georss-generic-client";
11   version = "0.7";
12   disabled = pythonOlder "3.7";
14   src = fetchFromGitHub {
15     owner = "exxamalte";
16     repo = "python-georss-generic-client";
17     rev = "v${version}";
18     hash = "sha256-58NpACrJK29NUnx3RrsLFPPo+6A/JlIlkrv8N9juMu0=";
19   };
21   propagatedBuildInputs = [
22     georss-client
23   ];
25   nativeCheckInputs = [
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [ "georss_generic_client" ];
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   };