about summary refs log tree commit diff
path: root/pkgs/development/libraries/redland/default.nix
blob: 0a73080a937fe377764bf8746cb55863de346cc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
args:
with args;
stdenv.mkDerivation rec {
  name = "redland-1.0.7";

  src = fetchurl {
    url = "mirror://sf/librdf/${name}.tar.gz";
    sha256 = "1z160hhrnlyy5c8vh2hjza6kdfmzml8mg9dk8yffifkhnxjq5r2z";
  };
  buildInputs = [pkgconfig];
  propagatedBuildInputs = [ bdb openssl libxslt perl mysql postgresql sqlite
    curl pcre libxml2];
  configureFlags = "--disable-static --with-threads --with-bdb=${bdb}";
  patchPhase="sed -e 1s@/usr@${perl}@ -i utils/touch-mtime.pl";
}