Files
nixpkgs/pkgs/development/python-modules/maxminddb/default.nix
T
Martin Weinelt 3109acd383 python3Packages.maxminddb: 2.8.2 -> 3.0.0
https://github.com/maxmind/MaxMind-DB-Reader-python/blob/v3.0.0/HISTORY.rst

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:31 +01:00

38 lines
990 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
libmaxminddb,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "maxminddb";
version = "3.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-l5KxliWUXf8Ubi4xh/nkcLgjMKkS986lWBuL1a8w2os=";
};
buildInputs = [ libmaxminddb ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "maxminddb" ];
# The multiprocessing tests fail on Darwin because multiprocessing uses spawn instead of fork,
# resulting in an exception when it cant pickle the `lookup` local function.
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ "multiprocessing" ];
meta = {
description = "Reader for the MaxMind DB format";
homepage = "https://github.com/maxmind/MaxMind-DB-Reader-python";
changelog = "https://github.com/maxmind/MaxMind-DB-Reader-python/blob/v${version}/HISTORY.rst";
license = lib.licenses.asl20;
maintainers = [ ];
};
}