python312Packages.asf-search: refactor

This commit is contained in:
Fabian Affolter 2024-04-11 23:29:59 +02:00
parent cb95e89fb8
commit 8db206c6eb

View File

@ -12,6 +12,7 @@
, remotezip , remotezip
, requests , requests
, requests-mock , requests-mock
, setuptools
, shapely , shapely
, tenacity , tenacity
}: }:
@ -19,7 +20,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "asf-search"; pname = "asf-search";
version = "7.0.9"; version = "7.0.9";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -30,7 +31,11 @@ buildPythonPackage rec {
hash = "sha256-CD9Up4h23dplTt51zif+4ZdW0qczRUz2hCOwUOOlS24="; hash = "sha256-CD9Up4h23dplTt51zif+4ZdW0qczRUz2hCOwUOOlS24=";
}; };
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
dateparser dateparser
importlib-metadata importlib-metadata
numpy numpy
@ -53,9 +58,9 @@ buildPythonPackage rec {
]; ];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/asfadmin/Discovery-asf_search/blob/${src.rev}/CHANGELOG.md";
description = "Python wrapper for the ASF SearchAPI"; description = "Python wrapper for the ASF SearchAPI";
homepage = "https://github.com/asfadmin/Discovery-asf_search"; homepage = "https://github.com/asfadmin/Discovery-asf_search";
changelog = "https://github.com/asfadmin/Discovery-asf_search/blob/${version}/CHANGELOG.md";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ bzizou ]; maintainers = with maintainers; [ bzizou ];
}; };