evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pystac / default.nix
blobc97862176e264ec7ba3fd1c5d342eda1ae185f25
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
8   html5lib,
9   jsonschema,
10   pytest-cov,
11   pytest-mock,
12   pytest-recording,
13   python-dateutil,
14   requests-mock,
15   setuptools,
18 buildPythonPackage rec {
19   pname = "pystac";
20   version = "1.11.0";
21   pyproject = true;
22   disabled = pythonOlder "3.9";
24   src = fetchFromGitHub {
25     owner = "stac-utils";
26     repo = "pystac";
27     rev = "refs/tags/v${version}";
28     hash = "sha256-yuAam/sXaGMFp1Kwxd28v3nOV05GC3sUY+gKJ4nLwTs=";
29   };
31   build-system = [ setuptools ];
33   propagatedBuildInputs = [ python-dateutil ];
35   nativeCheckInputs = [
36     html5lib
37     jsonschema
38     pytestCheckHook
39     pytest-cov
40     pytest-mock
41     pytest-recording
42     requests-mock
43   ];
45   pythonImportsCheck = [ "pystac" ];
47   meta = {
48     description = "Python library for working with any SpatioTemporal Asset Catalog (STAC)";
49     homepage = "https://github.com/stac-utils/pystac";
50     license = lib.licenses.asl20;
51     maintainers = lib.teams.geospatial.members;
52   };