Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ lib, buildPythonPackage, dateparser, defusedxml, fetchFromGitHub, importlib-metadata, numpy, pytestCheckHook, python-dateutil, pytz, remotezip, requests-mock, requests, setuptools-scm, shapely, tenacity,}:
buildPythonPackage rec { pname = "asf-search"; version = "11.0.0"; pyproject = true;
src = fetchFromGitHub { owner = "asfadmin"; repo = "Discovery-asf_search"; tag = "v${version}"; hash = "sha256-Z6DZOjXpziCAn9ZqbRa1c0cAVAbPEt5Go63BlA4Umog="; };
pythonRelaxDeps = [ "tenacity" ];
build-system = [ setuptools-scm ];
dependencies = [ dateparser importlib-metadata numpy python-dateutil pytz remotezip requests shapely ];
nativeCheckInputs = [ defusedxml pytestCheckHook requests-mock tenacity ];
disabledTestPaths = [ # requires asf_enumeration, not packaged "tests/BaselineSearch/test_baseline_search.py" # requires network "tests/Pair/test_Pair.py" ];
pythonImportsCheck = [ "asf_search" ];
meta = { description = "Python wrapper for the ASF SearchAPI"; homepage = "https://github.com/asfadmin/Discovery-asf_search"; changelog = "https://github.com/asfadmin/Discovery-asf_search/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ bzizou ]; };}