summary refs log tree commit diff
path: root/pkgs/development/libraries/libevent
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-07-22 09:02:13 +0000
committerLudovic Courtès <ludo@gnu.org>2010-07-22 09:02:13 +0000
commit80bcec77ecd72e8315b130e1f3c3a2fc783374fb (patch)
treedaf5942e133af7fbb68c4fd31f3c68b09012dd95 /pkgs/development/libraries/libevent
parent35cbabdab466c4994c2a9837f687d82f0f287748 (diff)
downloadnixpkgs-80bcec77ecd72e8315b130e1f3c3a2fc783374fb.tar
nixpkgs-80bcec77ecd72e8315b130e1f3c3a2fc783374fb.tar.gz
nixpkgs-80bcec77ecd72e8315b130e1f3c3a2fc783374fb.tar.bz2
nixpkgs-80bcec77ecd72e8315b130e1f3c3a2fc783374fb.tar.lz
nixpkgs-80bcec77ecd72e8315b130e1f3c3a2fc783374fb.tar.xz
nixpkgs-80bcec77ecd72e8315b130e1f3c3a2fc783374fb.tar.zst
nixpkgs-80bcec77ecd72e8315b130e1f3c3a2fc783374fb.zip
libevent 1.4.14b.
svn path=/nixpkgs/trunk/; revision=22697
Diffstat (limited to 'pkgs/development/libraries/libevent')
-rw-r--r--pkgs/development/libraries/libevent/default.nix25
1 files changed, 22 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libevent/default.nix b/pkgs/development/libraries/libevent/default.nix
index 4402995d587..15ffe2fce02 100644
--- a/pkgs/development/libraries/libevent/default.nix
+++ b/pkgs/development/libraries/libevent/default.nix
@@ -1,10 +1,29 @@
 {stdenv, fetchurl}:
 
+let version = "1.4.14b"; in
 stdenv.mkDerivation {
-  name = "libevent-1.1b";
+  name = "libevent-${version}";
 
   src = fetchurl {
-    url = http://monkey.org/~provos/libevent-1.1b.tar.gz;
-    md5 = "ec8dac612aa43ed172f300f396fcec49";
+    url = "http://monkey.org/~provos/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";
   };
 }