git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.maxminddb: 1.5.2 -> 1.5.4 (#92793)
commit386ebbccf001d8c5bab8681f9a2b936fe099634b authormisuzu <bakalolka@gmail.com> dateSun 12 Jul 2020, 07:16 (6 years ago) parent9a3c189
1 file changed+8−1
pkgs/development/python-modules/maxminddb/default.nix+8−1
pkgs/development/python-modules/maxminddb/default.nix+8−1
@@ -1,4 +1,6 @@
1−{ buildPythonPackage, lib, fetchPypi
1+{ stdenv, lib, buildPythonPackage, pythonAtLeast
2+, fetchPypi
3+, libmaxminddb
24, ipaddress
35, mock
46, nose
@@ -13,10 +15,15 @@ buildPythonPackage rec {
1315 sha256 = "f4d28823d9ca23323d113dc7af8db2087aa4f657fafc64ff8f7a8afda871425b";
1416 };
1517
18+ buildInputs = [ libmaxminddb ];
19+
1620 propagatedBuildInputs = [ ipaddress ];
1721
1822 checkInputs = [ nose mock ];
1923
24+ # Tests are broken for macOS on python38
25+ doCheck = !(stdenv.isDarwin && pythonAtLeast "3.8");
26+
2027 meta = with lib; {
2128 description = "Reader for the MaxMind DB format";
2229 homepage = "https://www.maxmind.com/en/home";