python310Packages.maxminddb: remove ipaddress usage, update homepage

This commit is contained in:
Sandro Jäckel 2022-05-30 04:13:40 +02:00
parent 260ed44242
commit 582268d27b
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -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; [ ];
};