anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / lmdb / default.nix
blob35ceedccd0d88aa9d47e23d6f9d3659d1e9b20c5
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   cffi,
7   lmdb,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "lmdb";
13   version = "1.5.1";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-cXwlWCfTMeAvckK0QFGqBkZskPbXMuywezHt+x4Gxno=";
21   };
23   buildInputs = [ lmdb ];
25   nativeCheckInputs = [
26     cffi
27     pytestCheckHook
28   ];
30   LMDB_FORCE_SYSTEM = 1;
32   meta = with lib; {
33     description = "Universal Python binding for the LMDB 'Lightning' Database";
34     homepage = "https://github.com/dw/py-lmdb";
35     changelog = "https://github.com/jnwatson/py-lmdb/blob/py-lmdb_${version}/ChangeLog";
36     license = licenses.openldap;
37     maintainers = with maintainers; [
38       copumpkin
39       ivan
40     ];
41   };