Files
nixpkgs/pkgs/development/python-modules/lmdb/default.nix
T
Martin Weinelt bb70b6a96f python3Packages.lmdb: 1.6.2 -> 1.7.3
https://github.com/jnwatson/py-lmdb/blob/py-lmdb_1.7.3/ChangeLog

This commit was automatically generated using update-python-libraries.
2025-08-09 19:01:38 +02:00

50 lines
911 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
patch-ng,
pytestCheckHook,
cffi,
lmdb,
pythonOlder,
}:
buildPythonPackage rec {
pname = "lmdb";
version = "1.7.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-1KJ7evT+OPNAnZ+/v0e2F7PZTe6YoAvIwqgzbM0/mxU=";
};
build-system = [ setuptools ];
buildInputs = [ lmdb ];
env.LMDB_FORCE_SYSTEM = 1;
dependencies = [ patch-ng ];
pythonImportsCheck = [ "lmdb" ];
nativeCheckInputs = [
cffi
pytestCheckHook
];
meta = {
description = "Universal Python binding for the LMDB 'Lightning' Database";
homepage = "https://github.com/dw/py-lmdb";
changelog = "https://github.com/jnwatson/py-lmdb/blob/py-lmdb_${version}/ChangeLog";
license = lib.licenses.openldap;
maintainers = with lib.maintainers; [
ivan
];
};
}