depot/third_party/nixpkgs/pkgs/development/python-modules/lmdb/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

29 lines
584 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, cffi
}:
buildPythonPackage rec {
pname = "lmdb";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "4136ffdf0aad61da86d1402808029d002a771b2a9ccc9b39c6bcafa7847c21b6";
};
checkInputs = [ pytest cffi ];
checkPhase = ''
py.test
'';
meta = with stdenv.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 ];
};
}