depot/third_party/nixpkgs/pkgs/development/python-modules/geocoder/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
717 B
Nix

{
lib,
buildPythonPackage,
click,
fetchPypi,
future,
pythonOlder,
ratelim,
requests,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "geocoder";
version = "1.38.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-yZJTdMlhV30K7kA7Ceb46hlx2RPwEfAMpwx2vq96d+c=";
};
build-system = [ setuptools ];
dependencies = [
click
future
ratelim
requests
six
];
pythonImportsCheck = [ "geocoder" ];
meta = with lib; {
description = "Module for geocoding";
homepage = "https://pypi.org/project/geocoder/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}