Adding libev - an even loop library remotely similar to libevent

svn path=/nixpkgs/trunk/; revision=16877
This commit is contained in:
Michael Raskin
2009-08-27 07:17:57 +00:00
parent 39b651fb44
commit a1ea759dd9
6 changed files with 47 additions and 4 deletions

View File

@@ -0,0 +1,26 @@
a :
let
s = import ./src-for-default.nix;
buildInputs = with a; [
];
in
rec {
src = a.fetchUrlFromSrcInfo s;
inherit (s) name;
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
meta = {
description = "An event loop library remotely similar to libevent";
maintainers = [
a.lib.maintainers.raskin
];
platforms = with a.lib.platforms;
linux ++ freebsd;
};
}

View File

@@ -0,0 +1,8 @@
rec {
advertisedUrl="http://dist.schmorp.de/libev/Attic/libev-3.8.tar.gz";
version = "3.8";
url="http://dist.schmorp.de/libev/Attic/libev-3.8.tar.gz";
hash = "1512n6c5q9ykqmk5zbwyb1na9qb9shd900kf4xhl5g07aypm7qr5";
name = "libev-3.8";
}

View File

@@ -0,0 +1,5 @@
{
downloadPage = "http://dist.schmorp.de/libev/Attic/?M=D";
sourceRegexp = "(^|/)libev-.*[.]tar[.]gz";
baseName = "libev";
}