summary refs log tree commit diff
path: root/pkgs/development/libraries/jemalloc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/jemalloc/default.nix')
-rw-r--r--pkgs/development/libraries/jemalloc/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/jemalloc/default.nix b/pkgs/development/libraries/jemalloc/default.nix
new file mode 100644
index 00000000000..b08f5b7dd76
--- /dev/null
+++ b/pkgs/development/libraries/jemalloc/default.nix
@@ -0,0 +1,18 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+  name = "jemalloc-3.6.0";
+
+  src = fetchurl {
+    url = "http://www.canonware.com/download/jemalloc/${name}.tar.bz2";
+    sha256 = "1zl4vxxjvhg72bdl53sl0idz9wp18c6yzjdmqcnwm09wvmcj2v71";
+  };
+
+  meta = with stdenv.lib; {
+    homepage = http://www.canonware.com/jemalloc/index.html;
+    description = "a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support";
+    license = licenses.bsd2;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ wkennington ];
+  };
+}