pythonPackages.lmdb: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 23:46:46 -04:00
committed by Frederik Rietdijk
parent 6102dd1991
commit dd44ffbcbe
2 changed files with 27 additions and 21 deletions

View File

@@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "lmdb";
version = "0.92";
src = fetchPypi {
inherit pname version;
sha256 = "01nw6r08jkipx6v92kw49z34wmwikrpvc5j9xawdiyg1n2526wrx";
};
# Some sort of mysterious failure with lmdb.tool
doCheck = !isPy3k;
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 ];
};
}