python312Packages.lmdb: switch to pypa builder
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
cffi,
|
||||
lmdb,
|
||||
@@ -11,7 +12,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "lmdb";
|
||||
version = "1.6.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -20,8 +21,12 @@ buildPythonPackage rec {
|
||||
hash = "sha256-0o4/pZk1/2iIWHYOxS8gLsuMEImj9o0fFi6jB40VHnM=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [ lmdb ];
|
||||
|
||||
pythonImportsCheck = [ "lmdb" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
cffi
|
||||
pytestCheckHook
|
||||
@@ -29,12 +34,12 @@ buildPythonPackage rec {
|
||||
|
||||
LMDB_FORCE_SYSTEM = 1;
|
||||
|
||||
meta = with lib; {
|
||||
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 = licenses.openldap;
|
||||
maintainers = with maintainers; [
|
||||
license = lib.licenses.openldap;
|
||||
maintainers = with lib.maintainers; [
|
||||
copumpkin
|
||||
ivan
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user