nixpkgs/pkgs/development/python-modules/lmdb/default.nix

34 lines
673 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2021-01-04 13:58:10 +00:00
, pytestCheckHook
, cffi
2021-01-04 13:58:10 +00:00
, lmdb
, ludios_wpull
}:
buildPythonPackage rec {
pname = "lmdb";
2020-11-29 14:04:33 +00:00
version = "1.0.0";
src = fetchPypi {
inherit pname version;
2020-11-29 14:04:33 +00:00
sha256 = "4136ffdf0aad61da86d1402808029d002a771b2a9ccc9b39c6bcafa7847c21b6";
};
2021-01-04 13:58:10 +00:00
buildInputs = [ lmdb ];
propogatedBuildInputs = [ ludios_wpull ];
checkInputs = [ cffi pytestCheckHook ];
LMDB_FORCE_SYSTEM=1;
meta = with lib; {
description = "Universal Python binding for the LMDB 'Lightning' Database";
homepage = "https://github.com/dw/py-lmdb";
license = licenses.openldap;
maintainers = with maintainers; [ copumpkin ivan ];
};
}