at 22.05-pre 613 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, cffi 6, lmdb 7}: 8 9buildPythonPackage rec { 10 pname = "lmdb"; 11 version = "1.2.1"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "5f76a90ebd08922acca11948779b5055f7a262687178e9e94f4e804b9f8465bc"; 16 }; 17 18 buildInputs = [ lmdb ]; 19 20 checkInputs = [ cffi pytestCheckHook ]; 21 22 LMDB_FORCE_SYSTEM=1; 23 24 meta = with lib; { 25 description = "Universal Python binding for the LMDB 'Lightning' Database"; 26 homepage = "https://github.com/dw/py-lmdb"; 27 license = licenses.openldap; 28 maintainers = with maintainers; [ copumpkin ivan ]; 29 }; 30}