Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 66 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ 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 = "9.0.7"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "asfadmin"; repo = "Discovery-asf_search"; tag = "v${version}"; hash = "sha256-qfP02OQ3RQx8EZsrbrSvlFkz16MZsTT7phemrKo8vEI="; };
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/${src.tag}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ bzizou ]; };}