biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / asf-search / default.nix
blobe2025204fbb70e2f87f186aef41a546877e477d8
2   lib,
3   buildPythonPackage,
4   dateparser,
5   defusedxml,
6   fetchFromGitHub,
7   importlib-metadata,
8   numpy,
9   pytestCheckHook,
10   python-dateutil,
11   pythonOlder,
12   pytz,
13   remotezip,
14   requests-mock,
15   requests,
16   setuptools-scm,
17   shapely,
18   tenacity,
21 buildPythonPackage rec {
22   pname = "asf-search";
23   version = "8.0.1";
24   pyproject = true;
26   disabled = pythonOlder "3.8";
28   src = fetchFromGitHub {
29     owner = "asfadmin";
30     repo = "Discovery-asf_search";
31     rev = "refs/tags/v${version}";
32     hash = "sha256-mOhY64Csxdc/DYS1OlbstxYEodtpXTVyPwd4B1jrDK8=";
33   };
35   pythonRelaxDeps = [ "tenacity" ];
37   build-system = [ setuptools-scm ];
39   dependencies = [
40     dateparser
41     importlib-metadata
42     numpy
43     python-dateutil
44     pytz
45     remotezip
46     requests
47     shapely
48   ];
50   nativeCheckInputs = [
51     defusedxml
52     pytestCheckHook
53     requests-mock
54     tenacity
55   ];
57   pythonImportsCheck = [ "asf_search" ];
59   meta = with lib; {
60     description = "Python wrapper for the ASF SearchAPI";
61     homepage = "https://github.com/asfadmin/Discovery-asf_search";
62     changelog = "https://github.com/asfadmin/Discovery-asf_search/blob/v${version}/CHANGELOG.md";
63     license = licenses.bsd3;
64     maintainers = with maintainers; [ bzizou ];
65   };