Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / georss-ign-sismologia-client / default.nix
blob15002c77f7bb3523f9f4d3ca9187185e5a903012
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , georss-client
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "georss-ign-sismologia-client";
11   version = "0.6";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "exxamalte";
18     repo = "python-georss-ign-sismologia-client";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-OLX6Megl5l8KDnd/G16QJ/wQn5AQc2cZ+LCbjuHFbwo=";
21   };
23   propagatedBuildInputs = [
24     georss-client
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "georss_ign_sismologia_client"
33   ];
35   meta = with lib; {
36     description = "Python library for accessing the IGN Sismologia GeoRSS feed";
37     homepage = "https://github.com/exxamalte/python-georss-ign-sismologia-client";
38     changelog = "https://github.com/exxamalte/python-georss-ign-sismologia-client/blob/v0.6/CHANGELOG.md";
39     license = with licenses; [ asl20 ];
40     maintainers = with maintainers; [ fab ];
41   };