Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 29 lines 571 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5, cffi 6}: 7 8buildPythonPackage rec { 9 pname = "lmdb"; 10 version = "0.97"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "0jw3n14x6qg5wps2w4qkqf4pyan949h1s2nbkrz2qh7xwnnp2g8p"; 15 }; 16 17 checkInputs = [ pytest cffi ]; 18 checkPhase = '' 19 py.test 20 ''; 21 22 meta = with stdenv.lib; { 23 description = "Universal Python binding for the LMDB 'Lightning' Database"; 24 homepage = "https://github.com/dw/py-lmdb"; 25 license = licenses.openldap; 26 maintainers = with maintainers; [ copumpkin ivan ]; 27 }; 28 29}