1 { stdenv, lib, buildPythonPackage, pythonOlder, pythonAtLeast
9 buildPythonPackage rec {
12 disabled = pythonOlder "3.6";
15 inherit pname version;
16 sha256 = "47e86a084dd814fac88c99ea34ba3278a74bc9de5a25f4b815b608798747c7dc";
19 buildInputs = [ libmaxminddb ];
21 propagatedBuildInputs = [ ipaddress ];
23 checkInputs = [ nose mock ];
25 # Tests are broken for macOS on python38
26 doCheck = !(stdenv.isDarwin && pythonAtLeast "3.8");
29 description = "Reader for the MaxMind DB format";
30 homepage = "https://www.maxmind.com/en/home";
31 license = licenses.asl20;
32 maintainers = with maintainers; [ ];