Merge pull request #6970 from joachifm/libev

Libev updates
This commit is contained in:
William A. Kennington III 2015-03-25 22:13:13 -07:00
commit c32a0d9eb1
4 changed files with 13 additions and 36 deletions

View File

@ -1,25 +1,16 @@
a : { stdenv, fetchurl }:
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"];
stdenv.mkDerivation rec {
name = "libev-${version}";
version="4.19";
src = fetchurl {
url = "http://dist.schmorp.de/libev/${name}.tar.gz";
sha256 = "1jyw7qbl0spxqa0dccj9x1jsw7cj7szff43cq4acmklnra4mzz48";
};
meta = { meta = {
description = "An event loop library remotely similar to libevent"; description = "A high-performance event loop/event model with lots of features";
maintainers = [ maintainers = [ stdenv.lib.maintainers.raskin ];
a.lib.maintainers.raskin platforms = stdenv.lib.platforms.all;
]; license = stdenv.lib.licenses.bsd2; # or GPL2+
platforms = a.lib.platforms.all;
}; };
} }

View File

@ -1,9 +0,0 @@
rec {
version="4.15";
name="libev-4.15";
hash="1svgc1hq4i5zsw4i02sf7xb4pk2d8kpvc1gdrd856vsmffh47pdj";
url="http://dist.schmorp.de/libev/Attic/libev-${version}.tar.gz";
advertisedUrl="http://dist.schmorp.de/libev/Attic/libev-4.15.tar.gz";
}

View File

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

View File

@ -6335,7 +6335,7 @@ let
libechonest = callPackage ../development/libraries/libechonest { }; libechonest = callPackage ../development/libraries/libechonest { };
libev = builderDefsPackage ../development/libraries/libev { }; libev = callPackage ../development/libraries/libev { };
libevent14 = callPackage ../development/libraries/libevent/1.4.nix { }; libevent14 = callPackage ../development/libraries/libevent/1.4.nix { };
libevent = callPackage ../development/libraries/libevent { }; libevent = callPackage ../development/libraries/libevent { };