Skip to content

Commit

Permalink
pythonPackages.lmdb: enable tests (#51931)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan authored and dotlambda committed Dec 13, 2018
1 parent 2232135 commit f1b814a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkgs/development/python-modules/lmdb/default.nix
@@ -1,7 +1,8 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, pytest
, cffi
}:

buildPythonPackage rec {
Expand All @@ -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";
Expand Down

0 comments on commit f1b814a

Please sign in to comment.