1 { buildPythonPackage, lib, fetchPypi, pythonOlder
11 buildPythonPackage rec {
14 disabled = pythonOlder "3.6";
17 inherit pname version;
18 sha256 = "sha256-8OgLzoCwa7OL0Iv0h31ahONU6TIJXmzPtNJ7tZj6T4M=";
22 substituteInPlace requirements.txt --replace "requests>=2.24.0,<3.0.0" "requests"
25 propagatedBuildInputs = [ aiohttp maxminddb requests urllib3 ];
33 pythonImportsCheck = [ "geoip2" ];
36 description = "GeoIP2 webservice client and database reader";
37 homepage = "https://github.com/maxmind/GeoIP2-python";
38 license = licenses.asl20;
39 maintainers = with maintainers; [ ];