Merge pull request #175399 from SuperSandro2000/geoip2
python310Packages.geoip2: add missing dependency, description
This commit is contained in:
commit
dfbb27127f
@ -4,6 +4,7 @@
|
|||||||
, mocket
|
, mocket
|
||||||
, requests
|
, requests
|
||||||
, requests-mock
|
, requests-mock
|
||||||
|
, urllib3
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -21,7 +22,7 @@ buildPythonPackage rec {
|
|||||||
substituteInPlace requirements.txt --replace "requests>=2.24.0,<3.0.0" "requests"
|
substituteInPlace requirements.txt --replace "requests>=2.24.0,<3.0.0" "requests"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ aiohttp requests maxminddb ];
|
propagatedBuildInputs = [ aiohttp maxminddb requests urllib3 ];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
mocket
|
mocket
|
||||||
@ -32,7 +33,7 @@ buildPythonPackage rec {
|
|||||||
pythonImportsCheck = [ "geoip2" ];
|
pythonImportsCheck = [ "geoip2" ];
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
homepage = "https://github.com/maxmind/GeoIP2-python";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
|
Loading…
Reference in New Issue
Block a user