summary refs log tree commit diff
path: root/pkgs/development/libraries/libev/default.nix
blob: e2c08ffb09c7b9d9c69f60e3d5a17eda0fe5c1bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, static ? false }:

stdenv.mkDerivation rec {
  pname = "libev";
  version="4.27";

  src = fetchurl {
    url = "http://dist.schmorp.de/libev/Attic/${pname}-${version}.tar.gz";
    sha256 = "0kil23cgsp0r5shvnwwbsy7fzxb62sxqzqbkbkfp5w54ipy2cm9d";
  };

  configureFlags = stdenv.lib.optional (static) "LDFLAGS=-static";

  meta = {
    description = "A high-performance event loop/event model with lots of features";
    maintainers = [ stdenv.lib.maintainers.raskin ];
    platforms = stdenv.lib.platforms.all;
    license = stdenv.lib.licenses.bsd2; # or GPL2+
  };
}