My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/lmdb/default.nix

30 lines
613 B

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, cffi
, lmdb
}:
buildPythonPackage rec {
pname = "lmdb";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "60a11efc21aaf009d06518996360eed346f6000bfc9de05114374230879f992e";
};
buildInputs = [ lmdb ];
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 ];
};
}