2018-10-15 20:46:46 -07:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-12-13 00:08:05 -08:00
|
|
|
, pytest
|
|
|
|
, cffi
|
2018-10-15 20:46:46 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lmdb";
|
2020-08-16 10:31:06 -07:00
|
|
|
version = "0.99";
|
2018-10-15 20:46:46 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 10:31:06 -07:00
|
|
|
sha256 = "f9eb844aaaacc8a4bc175e1c1f8a8fb538c330e378fd9eb40e8708d4dca7dc89";
|
2018-10-15 20:46:46 -07:00
|
|
|
};
|
|
|
|
|
2018-12-13 00:08:05 -08:00
|
|
|
checkInputs = [ pytest cffi ];
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
2018-10-15 20:46:46 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Universal Python binding for the LMDB 'Lightning' Database";
|
|
|
|
homepage = "https://github.com/dw/py-lmdb";
|
|
|
|
license = licenses.openldap;
|
2019-09-09 07:31:08 -07:00
|
|
|
maintainers = with maintainers; [ copumpkin ivan ];
|
2018-10-15 20:46:46 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|