evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / georss-ingv-centro-nazionale-terremoti-client / default.nix
blob83f1e307cf26284a21a9ecbb98536687f4298127
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   georss-client,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "georss-ingv-centro-nazionale-terremoti-client";
13   version = "0.7";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "exxamalte";
20     repo = "python-georss-ingv-centro-nazionale-terremoti-client";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-J72yd1D4mKCOsBRLMUXKnxmjr6g0IQApTTrWjklczN8=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   propagatedBuildInputs = [ georss-client ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   pythonImportsCheck = [ "georss_ingv_centro_nazionale_terremoti_client" ];
33   meta = with lib; {
34     description = "Python library for accessing the INGV Centro Nazionale Terremoti GeoRSS feed";
35     homepage = "https://github.com/exxamalte/python-georss-ingv-centro-nazionale-terremoti-client";
36     changelog = "https://github.com/exxamalte/python-georss-ingv-centro-nazionale-terremoti-client/releases/tag/v${version}";
37     license = with licenses; [ asl20 ];
38     maintainers = with maintainers; [ fab ];
39   };