31 lines
613 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2021-01-04 14:58:10 +01:00
, pytestCheckHook
, cffi
2021-01-04 14:58:10 +01:00
, lmdb
}:
buildPythonPackage rec {
pname = "lmdb";
2021-03-24 10:28:17 +01:00
version = "1.1.1";
src = fetchPypi {
inherit pname version;
2021-03-24 10:28:17 +01:00
sha256 = "165cd1669b29b16c2d5cc8902b90fede15a7ee475c54d466f1444877a3f511ac";
};
2021-01-04 14:58:10 +01:00
buildInputs = [ lmdb ];
checkInputs = [ cffi pytestCheckHook ];
LMDB_FORCE_SYSTEM=1;
meta = with lib; {
description = "Universal Python binding for the LMDB 'Lightning' Database";
homepage = "https://github.com/dw/py-lmdb";
license = licenses.openldap;
maintainers = with maintainers; [ copumpkin ivan ];
};
}