nixpkgs/pkgs/development/python-modules/lmdb/default.nix
R. RyanTM a6ee5acac7 python37Packages.lmdb: 0.94 -> 0.95
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-lmdb/versions
2019-06-17 13:53:37 -07:00

31 lines
602 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, cffi
}:
buildPythonPackage rec {
pname = "lmdb";
version = "0.95";
src = fetchPypi {
inherit pname version;
sha256 = "0nx9f193gzl33r1lbqhb96h1igya7pz8wmahr8m9x5zgc05hal91";
};
checkInputs = [ pytest cffi ];
checkPhase = ''
export PYTHONPATH=.:$PYTHONPATH
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 ];
};
}