nixpkgs/pkgs/development/python-modules/lmdb/default.nix
Ivan Kozik cead5384d8 pythonPackages.lmdb: don't depend on ludios_wpull
This makes no sense and yet was added in 65eccfad5d

This was breaking the build of python3Packages.lmdb because ludios_wpull does not
build on 3.8, only 3.7.
2021-04-26 20:33:01 +00:00

31 lines
613 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, cffi
, lmdb
}:
buildPythonPackage rec {
pname = "lmdb";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "165cd1669b29b16c2d5cc8902b90fede15a7ee475c54d466f1444877a3f511ac";
};
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 ];
};
}