2018-10-16 03:46:46 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-12-13 08:08:05 +00:00
|
|
|
, pytest
|
|
|
|
, cffi
|
2018-10-16 03:46:46 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lmdb";
|
2019-12-19 19:31:15 +00:00
|
|
|
version = "0.98";
|
2018-10-16 03:46:46 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:15 +00:00
|
|
|
sha256 = "0625bc28bf0893e6000a83be7234f915ca078c32f9e73d8ae48b3508db7af708";
|
2018-10-16 03:46:46 +00:00
|
|
|
};
|
|
|
|
|
2018-12-13 08:08:05 +00:00
|
|
|
checkInputs = [ pytest cffi ];
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
2018-10-16 03:46:46 +00: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 14:31:08 +00:00
|
|
|
maintainers = with maintainers; [ copumpkin ivan ];
|
2018-10-16 03:46:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|