summary refs log tree commit diff
path: root/pkgs/development/libraries/libevent
diff options
context:
space:
mode:
authorRob Vermaas <rob.vermaas@gmail.com>2012-12-01 21:28:32 +0100
committerRob Vermaas <rob.vermaas@gmail.com>2012-12-01 21:28:32 +0100
commit502587abb0e54be12ad8d71983aa8a6352a075d5 (patch)
tree2d9e5d82018b1eba4ca79e64bf9308d1841a9d11 /pkgs/development/libraries/libevent
parent86a5ad6d80adb9e4d79f43bf8f63c17307e26fa7 (diff)
downloadnixpkgs-502587abb0e54be12ad8d71983aa8a6352a075d5.tar
nixpkgs-502587abb0e54be12ad8d71983aa8a6352a075d5.tar.gz
nixpkgs-502587abb0e54be12ad8d71983aa8a6352a075d5.tar.bz2
nixpkgs-502587abb0e54be12ad8d71983aa8a6352a075d5.tar.lz
nixpkgs-502587abb0e54be12ad8d71983aa8a6352a075d5.tar.xz
nixpkgs-502587abb0e54be12ad8d71983aa8a6352a075d5.tar.zst
nixpkgs-502587abb0e54be12ad8d71983aa8a6352a075d5.zip
Added libdwarf, libevent 1.4, libmcrypt, libmemcached, oniguruma. These are dependencies for HipHop Virtual Machine.
Diffstat (limited to 'pkgs/development/libraries/libevent')
-rw-r--r--pkgs/development/libraries/libevent/1.4.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libevent/1.4.nix b/pkgs/development/libraries/libevent/1.4.nix
new file mode 100644
index 00000000000..ed190bf6061
--- /dev/null
+++ b/pkgs/development/libraries/libevent/1.4.nix
@@ -0,0 +1,29 @@
+{stdenv, fetchurl}:
+
+let version = "1.4.14b"; in
+stdenv.mkDerivation {
+  name = "libevent-${version}";
+
+  src = fetchurl {
+    url = "https://github.com/downloads/libevent/libevent/libevent-${version}-stable.tar.gz";
+    sha256 = "00b3wih3qpcik6v0qh1406abs2xb954d58ncqwzs8ar2d93ip9mg";
+  };
+
+  meta = {
+    description = "libevent, an event notification library";
+
+    longDescription =
+      '' The libevent API provides a mechanism to execute a callback function
+         when a specific event occurs on a file descriptor or after a timeout
+         has been reached.  Furthermore, libevent also support callbacks due
+         to signals or regular timeouts.
+
+         libevent is meant to replace the event loop found in event driven
+         network servers.  An application just needs to call event_dispatch()
+         and then add or remove events dynamically without having to change
+         the event loop.
+      '';
+
+    license = "mBSD";
+  };
+}