evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pystac-client / default.nix
blobe554cf140167b7687b8d4508a35618ac9da4fbb3
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
8   pystac,
9   pytest-benchmark,
10   pytest-console-scripts,
11   pytest-mock,
12   pytest-recording,
13   python-dateutil,
14   requests,
15   requests-mock,
16   setuptools,
19 buildPythonPackage rec {
20   pname = "pystac-client";
21   version = "0.8.4";
22   pyproject = true;
23   disabled = pythonOlder "3.9";
25   src = fetchFromGitHub {
26     owner = "stac-utils";
27     repo = "pystac-client";
28     rev = "refs/tags/v${version}";
29     hash = "sha256-EetS0MD5DLBR+ht9YfD+oRdfHbVONuVHdSZj3FQ5Sm8=";
30   };
32   build-system = [ setuptools ];
34   dependencies = [
35     pystac
36     python-dateutil
37     requests
38   ];
40   nativeCheckInputs = [
41     pytest-benchmark
42     pytestCheckHook
43     pytest-console-scripts
44     pytest-mock
45     pytest-recording
46     requests-mock
47   ];
49   pytestFlagsArray = [
50     # Tests accessing Internet
51     "-m 'not vcr'"
52   ];
54   pythonImportsCheck = [ "pystac_client" ];
56   meta = {
57     description = "A Python client for working with STAC Catalogs and APIs";
58     homepage = "https://github.com/stac-utils/pystac-client";
59     license = lib.licenses.asl20;
60     maintainers = lib.teams.geospatial.members;
61   };