3
0
Fork 0
forked from mirrors/nixpkgs

jemalloc: 4.3.1 -> 4.5.0

This commit is contained in:
Renaud 2017-03-15 23:23:57 +01:00 committed by c0bw3b
parent da6619cffe
commit a4c68ace9c

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "jemalloc-${version}"; name = "jemalloc-${version}";
version = "4.3.1"; version = "4.5.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/jemalloc/jemalloc/releases/download/${version}/${name}.tar.bz2"; url = "https://github.com/jemalloc/jemalloc/releases/download/${version}/${name}.tar.bz2";
sha256 = "12r71i8nm3vwz21fc16rwbb0pwcg5s05n1qg3rwl2s85v0x1ifzp"; sha256 = "9409d85664b4f135b77518b0b118c549009dc10f6cba14557d170476611f6780";
}; };
# By default, jemalloc puts a je_ prefix onto all its symbols on OSX, which # By default, jemalloc puts a je_ prefix onto all its symbols on OSX, which
@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
# option should remove the prefix and give us a working jemalloc. # option should remove the prefix and give us a working jemalloc.
configureFlags = stdenv.lib.optional stdenv.isDarwin "--with-jemalloc-prefix="; configureFlags = stdenv.lib.optional stdenv.isDarwin "--with-jemalloc-prefix=";
doCheck = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://jemalloc.net; homepage = http://jemalloc.net;
description = "General purpose malloc(3) implementation"; description = "General purpose malloc(3) implementation";