mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.lmdb: enable tests (#51931)
This commit is contained in:
parent
2232135cf9
commit
f1b814a879
1 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pytest
|
||||
, cffi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -13,8 +14,11 @@ buildPythonPackage rec {
|
|||
sha256 = "1zh38gvkqw1jm5105if6rr7ccbgyxr7k2rm5ygb9ab3bq82pyaww";
|
||||
};
|
||||
|
||||
# Some sort of mysterious failure with lmdb.tool
|
||||
doCheck = !isPy3k;
|
||||
checkInputs = [ pytest cffi ];
|
||||
checkPhase = ''
|
||||
export PYTHONPATH=.:$PYTHONPATH
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Universal Python binding for the LMDB 'Lightning' Database";
|
||||
|
|
Loading…
Reference in a new issue