pythonPackages.lmdb: Fix build
This commit is contained in:
parent
7452b3d853
commit
65eccfad5d
@ -1,8 +1,10 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, cffi
|
, cffi
|
||||||
|
, lmdb
|
||||||
|
, ludios_wpull
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -14,10 +16,13 @@ buildPythonPackage rec {
|
|||||||
sha256 = "4136ffdf0aad61da86d1402808029d002a771b2a9ccc9b39c6bcafa7847c21b6";
|
sha256 = "4136ffdf0aad61da86d1402808029d002a771b2a9ccc9b39c6bcafa7847c21b6";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest cffi ];
|
buildInputs = [ lmdb ];
|
||||||
checkPhase = ''
|
|
||||||
py.test
|
propogatedBuildInputs = [ ludios_wpull ];
|
||||||
'';
|
|
||||||
|
checkInputs = [ cffi pytestCheckHook ];
|
||||||
|
|
||||||
|
LMDB_FORCE_SYSTEM=1;
|
||||||
|
|
||||||
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";
|
||||||
@ -25,5 +30,4 @@ buildPythonPackage rec {
|
|||||||
license = licenses.openldap;
|
license = licenses.openldap;
|
||||||
maintainers = with maintainers; [ copumpkin ivan ];
|
maintainers = with maintainers; [ copumpkin ivan ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -3634,7 +3634,9 @@ in {
|
|||||||
llvm = pkgs.llvm_9;
|
llvm = pkgs.llvm_9;
|
||||||
}; # llvmlite always requires a specific version of llvm.
|
}; # 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 { };
|
lml = callPackage ../development/python-modules/lml { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user