Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / georss-nrcan-earthquakes-client / default.nix
blobef8ea220e9e1f2046f824d9797081e61d52ceb38
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , georss-client
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "georss-nrcan-earthquakes-client";
11   version = "0.4";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "exxamalte";
18     repo = "python-georss-nrcan-earthquakes-client";
19     rev = "v${version}";
20     hash = "sha256-FFm37+dCkdoZXgvAjYhcHOYFf0oQ37bxJb7vzbWDTro=";
21   };
23   propagatedBuildInputs = [
24     georss-client
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "georss_nrcan_earthquakes_client"
33   ];
35   meta = with lib; {
36     description = "Python library for accessing Natural Resources Canada Earthquakes feed";
37     homepage = "https://github.com/exxamalte/python-georss-nrcan-earthquakes-client";
38     license = with licenses; [ asl20 ];
39     maintainers = with maintainers; [ fab ];
40   };