Adding libev - an even loop library remotely similar to libevent
svn path=/nixpkgs/trunk/; revision=16877
This commit is contained in:
26
pkgs/development/libraries/libev/default.nix
Normal file
26
pkgs/development/libraries/libev/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
8
pkgs/development/libraries/libev/src-for-default.nix
Normal file
8
pkgs/development/libraries/libev/src-for-default.nix
Normal 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";
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
downloadPage = "http://dist.schmorp.de/libev/Attic/?M=D";
|
||||
sourceRegexp = "(^|/)libev-.*[.]tar[.]gz";
|
||||
baseName = "libev";
|
||||
}
|
||||
Reference in New Issue
Block a user