python3Packages.lmdb: fix cross compile (#438961)

Colin db9b720a 1bdb7730

Changed files
+3 -4
pkgs
development
python-modules
+3 -4
pkgs/development/python-modules/lmdb/default.nix
···
buildInputs = [ lmdb ];
+
nativeBuildInputs = [ cffi ];
+
env.LMDB_FORCE_SYSTEM = 1;
dependencies = [ patch-ng ];
pythonImportsCheck = [ "lmdb" ];
-
nativeCheckInputs = [
-
cffi
-
pytestCheckHook
-
];
+
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Universal Python binding for the LMDB 'Lightning' Database";