pythonPackages.lmdb: Fix build
This commit is contained in:
parent
7452b3d853
commit
65eccfad5d
|
@ -1,8 +1,10 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, cffi
|
||||
, lmdb
|
||||
, ludios_wpull
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -14,10 +16,13 @@ buildPythonPackage rec {
|
|||
sha256 = "4136ffdf0aad61da86d1402808029d002a771b2a9ccc9b39c6bcafa7847c21b6";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest cffi ];
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
buildInputs = [ lmdb ];
|
||||
|
||||
propogatedBuildInputs = [ ludios_wpull ];
|
||||
|
||||
checkInputs = [ cffi pytestCheckHook ];
|
||||
|
||||
LMDB_FORCE_SYSTEM=1;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Universal Python binding for the LMDB 'Lightning' Database";
|
||||
|
@ -25,5 +30,4 @@ buildPythonPackage rec {
|
|||
license = licenses.openldap;
|
||||
maintainers = with maintainers; [ copumpkin ivan ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -3634,7 +3634,9 @@ in {
|
|||
llvm = pkgs.llvm_9;
|
||||
}; # llvmlite always requires a specific version of llvm.
|
||||
|
||||
lmdb = callPackage ../development/python-modules/lmdb { };
|
||||
lmdb = callPackage ../development/python-modules/lmdb {
|
||||
inherit (pkgs) lmdb;
|
||||
};
|
||||
|
||||
lml = callPackage ../development/python-modules/lml { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue