1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "jemalloc-4.0.3"; 5 6 src = fetchurl { 7 url = "http://www.canonware.com/download/jemalloc/${name}.tar.bz2"; 8 sha256 = "1mpnfaniaybv8kh7yjqq2g595l2i08m7adg238k5igzf61n6ixzi"; 9 }; 10 11 meta = with stdenv.lib; { 12 homepage = http://www.canonware.com/jemalloc/index.html; 13 description = "General purpose malloc(3) implementation"; 14 longDescription = '' 15 malloc(3)-compatible memory allocator that emphasizes fragmentation 16 avoidance and scalable concurrency support. 17 ''; 18 license = licenses.bsd2; 19 platforms = platforms.all; 20 maintainers = with maintainers; [ wkennington ]; 21 }; 22}