pythonPackages.lmdb: enable tests (#51931)
This commit is contained in:
parent
2232135cf9
commit
f1b814a879
|
@ -1,7 +1,8 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy3k
|
, pytest
|
||||||
|
, cffi
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -13,8 +14,11 @@ buildPythonPackage rec {
|
||||||
sha256 = "1zh38gvkqw1jm5105if6rr7ccbgyxr7k2rm5ygb9ab3bq82pyaww";
|
sha256 = "1zh38gvkqw1jm5105if6rr7ccbgyxr7k2rm5ygb9ab3bq82pyaww";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Some sort of mysterious failure with lmdb.tool
|
checkInputs = [ pytest cffi ];
|
||||||
doCheck = !isPy3k;
|
checkPhase = ''
|
||||||
|
export PYTHONPATH=.:$PYTHONPATH
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Universal Python binding for the LMDB 'Lightning' Database";
|
description = "Universal Python binding for the LMDB 'Lightning' Database";
|
||||||
|
|
Loading…
Reference in New Issue