blob: c59184007e5345f18c27616256d9a8b52d54d293 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ stdenv, fetchurl, apr, expat
, bdbSupport ? false, db4 ? null
}:
assert bdbSupport -> db4 != null;
stdenv.mkDerivation rec {
name = "apr-util-1.3.10";
src = fetchurl {
url = "mirror://apache/apr/${name}.tar.bz2";
sha256 = "1vhps080b0f9z6ibq7xqbhdrclb89min7xwvc2zzc5wf0x4w1h0s";
};
configureFlags = ''
--with-apr=${apr} --with-expat=${expat}
${if bdbSupport then "--with-berkeley-db=${db4}" else ""}
'';
passthru = {
inherit bdbSupport;
};
meta = {
homepage = http://apr.apache.org/;
description = "A companion library to APR, the Apache Portable Runtime";
};
}
|