{ lib, buildPythonPackage, dateparser, defusedxml, fetchFromGitHub, importlib-metadata, numpy, pytestCheckHook, python-dateutil, pythonOlder, pytz, remotezip, requests-mock, requests, setuptools-scm, shapely, tenacity, }: buildPythonPackage rec { pname = "asf-search"; version = "7.1.4"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "asfadmin"; repo = "Discovery-asf_search"; rev = "refs/tags/v${version}"; hash = "sha256-l1FrhQ82+0g/ivm2K2yXJ5EZNDGM3Olcj1AxiQc8cZI="; }; pythonRelaxDeps = [ "tenacity" ]; build-system = [ setuptools-scm ]; dependencies = [ dateparser importlib-metadata numpy python-dateutil pytz remotezip requests shapely ]; nativeCheckInputs = [ defusedxml pytestCheckHook requests-mock tenacity ]; pythonImportsCheck = [ "asf_search" ]; meta = with lib; { description = "Python wrapper for the ASF SearchAPI"; homepage = "https://github.com/asfadmin/Discovery-asf_search"; changelog = "https://github.com/asfadmin/Discovery-asf_search/blob/${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ bzizou ]; }; }