Merge pull request #175399 from SuperSandro2000/geoip2

python310Packages.geoip2: add missing dependency, description
This commit is contained in:
Fabian Affolter 2022-05-30 09:44:28 +02:00 committed by GitHub
commit dfbb27127f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@
, mocket
, requests
, requests-mock
, urllib3
, pytestCheckHook
}:
@ -21,7 +22,7 @@ buildPythonPackage rec {
substituteInPlace requirements.txt --replace "requests>=2.24.0,<3.0.0" "requests"
'';
propagatedBuildInputs = [ aiohttp requests maxminddb ];
propagatedBuildInputs = [ aiohttp maxminddb requests urllib3 ];
checkInputs = [
mocket
@ -32,7 +33,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "geoip2" ];
meta = with lib; {
description = "Python client for GeoIP2 webservice client and database reader";
description = "GeoIP2 webservice client and database reader";
homepage = "https://github.com/maxmind/GeoIP2-python";
license = licenses.asl20;
maintainers = with maintainers; [ ];