1{
2 lib,
3 buildPythonPackage,
4 click,
5 fetchPypi,
6 future,
7 pythonOlder,
8 ratelim,
9 requests,
10 setuptools,
11 six,
12}:
13
14buildPythonPackage rec {
15 pname = "geocoder";
16 version = "1.38.1";
17 pyproject = true;
18
19 disabled = pythonOlder "3.7";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-yZJTdMlhV30K7kA7Ceb46hlx2RPwEfAMpwx2vq96d+c=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 click
30 future
31 ratelim
32 requests
33 six
34 ];
35
36 pythonImportsCheck = [ "geocoder" ];
37
38 meta = with lib; {
39 description = "Module for geocoding";
40 homepage = "https://pypi.org/project/geocoder/";
41 license = licenses.mit;
42 maintainers = with maintainers; [ fab ];
43 };
44}