lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 16.09-beta 39 lines 1.2 kB view raw
1{ stdenv, fetchzip }: 2 3let optional = stdenv.lib.optional; 4in stdenv.mkDerivation rec { 5 name = "lmdb-${version}"; 6 version = "0.9.16"; 7 8 src = fetchzip { 9 url = "https://github.com/LMDB/lmdb/archive/LMDB_${version}.tar.gz"; 10 sha256 = "1lkmngscijwiz09gdkqygdp87x55vp8gb4fh4vq7s34k4jv0327l"; 11 }; 12 13 postUnpack = "sourceRoot=\${sourceRoot}/libraries/liblmdb"; 14 15 makeFlags = ["prefix=$(out)"] 16 ++ optional stdenv.cc.isClang "CC=clang"; 17 18 doCheck = true; 19 checkPhase = "make test"; 20 21 preInstall = '' 22 mkdir -p $out/{man/man1,bin,lib,include} 23 ''; 24 25 meta = with stdenv.lib; { 26 description = "Lightning memory-mapped database"; 27 longDescription = '' 28 LMDB is an ultra-fast, ultra-compact key-value embedded data store 29 developed by Symas for the OpenLDAP Project. It uses memory-mapped files, 30 so it has the read performance of a pure in-memory database while still 31 offering the persistence of standard disk-based databases, and is only 32 limited to the size of the virtual address space. 33 ''; 34 homepage = http://symas.com/mdb/; 35 maintainers = with maintainers; [ jb55 ]; 36 license = licenses.openldap; 37 platforms = platforms.all; 38 }; 39}