Merge pull request #175385 from SuperSandro2000/maxminddb

python310Packages.maxminddb: remove ipaddress usage, update homepage
This commit is contained in:
Sandro 2022-05-30 05:18:59 +02:00 committed by GitHub
commit c72e964d95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,14 +1,17 @@
{ stdenv, lib, buildPythonPackage, pythonOlder, pythonAtLeast
{ stdenv
, lib
, buildPythonPackage
, pythonOlder
, pythonAtLeast
, fetchPypi
, libmaxminddb
, ipaddress
, mock
, nose
}:
buildPythonPackage rec {
version = "2.2.0";
pname = "maxminddb";
version = "2.2.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
@ -18,8 +21,6 @@ buildPythonPackage rec {
buildInputs = [ libmaxminddb ];
propagatedBuildInputs = [ ipaddress ];
checkInputs = [ nose mock ];
# Tests are broken for macOS on python38
@ -27,7 +28,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Reader for the MaxMind DB format";
homepage = "https://www.maxmind.com/en/home";
homepage = "https://github.com/maxmind/MaxMind-DB-Reader-python";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};