80bcec77ec
svn path=/nixpkgs/trunk/; revision=22697
30 lines
935 B
Nix
30 lines
935 B
Nix
{stdenv, fetchurl}:
|
|
|
|
let version = "1.4.14b"; in
|
|
stdenv.mkDerivation {
|
|
name = "libevent-${version}";
|
|
|
|
src = fetchurl {
|
|
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";
|
|
};
|
|
}
|