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

stdenv.mkDerivation {
  name = "apr-1.3.3";
  
  src = fetchurl {
    url = mirror://apache/apr/apr-1.3.3.tar.bz2;
    sha256 = "0dyxw3km88f0li1d39vyr09670yb12xn8j1h8dq331kc6rw3npyr";
  };

  # For now, disable detection of epoll to ensure that Apache still
  # runs on Linux 2.4 kernels.  Once we've dropped support for 2.4 in
  # Nixpkgs, this can go.  In general, it's a problem that APR
  # detects characteristics of the build system's kernel to decide
  # what to use at runtime, since it's impure.
  #apr_cv_epoll = "no";

  meta = {
    homepage = http://apr.apache.org/;
    description = "The Apache Portable Runtime library";
  };
}