nixpkgs-suyu/pkgs/development/python-modules/asf-search/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
746 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub, pytz, shapely, importlib-metadata, requests, python-dateutil }:
buildPythonPackage rec {
pname = "asf_search";
version = "3.0.6";
src = fetchFromGitHub {
owner = "asfadmin";
repo = "Discovery-asf_search";
rev = "v${version}";
sha256 = "1jzah2l1db1p2mv59w9qf0x3a9hk6s5rzy0jnp2smsddvyxfwcyn";
};
propagatedBuildInputs = [ pytz shapely importlib-metadata requests python-dateutil ];
doCheck = false;
pythonImportsCheck = [ "asf_search" ];
meta = with lib; {
description = "Python wrapper for the ASF SearchAPI";
homepage = "https://github.com/asfadmin/Discovery-asf_search";
license = licenses.bsd3;
maintainers = with maintainers; [ bzizou ];
};
}