2007-10-01 15:14:50 +00:00
|
|
|
args:
|
|
|
|
with args;
|
2008-01-15 01:41:20 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "redland-1.0.7";
|
2007-10-01 15:14:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-02-10 17:42:11 +00:00
|
|
|
url = "mirror://sf/librdf/${name}.tar.gz";
|
2008-01-15 01:41:20 +00:00
|
|
|
sha256 = "1z160hhrnlyy5c8vh2hjza6kdfmzml8mg9dk8yffifkhnxjq5r2z";
|
2007-10-01 15:14:50 +00:00
|
|
|
};
|
2008-02-10 17:42:11 +00:00
|
|
|
buildInputs = [pkgconfig];
|
|
|
|
propagatedBuildInputs = [ bdb openssl libxslt perl mysql postgresql sqlite
|
2008-08-19 12:36:13 +00:00
|
|
|
curl pcre libxml2];
|
2008-02-10 17:42:11 +00:00
|
|
|
configureFlags = "--disable-static --with-threads --with-bdb=${bdb}";
|
2007-10-01 15:14:50 +00:00
|
|
|
patchPhase="sed -e 1s@/usr@${perl}@ -i utils/touch-mtime.pl";
|
|
|
|
}
|