2009-04-21 23:18:09 +00:00
|
|
|
args: with args;
|
|
|
|
|
2009-09-22 23:07:35 +00:00
|
|
|
let name = "redland-${version}";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
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";
|
2009-09-22 23:07:35 +00:00
|
|
|
sha256 = "aa90ded84f5dd4cc2330bf79d139e00ceb93c6a9b94d17e1a93449ad579e1524";
|
2007-10-01 15:14:50 +00:00
|
|
|
};
|
2009-04-21 23:18:09 +00:00
|
|
|
|
2009-09-22 08:55:37 +00:00
|
|
|
buildInputs = [pkgconfig];
|
2009-04-21 23:18:09 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bdb openssl libxslt perl mysql postgresql sqlite curl pcre libxml2
|
2009-09-22 23:07:35 +00:00
|
|
|
librdf_raptor librdf_rasqal
|
2009-04-21 23:18:09 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = "--with-threads --with-bdb=${bdb}";
|
|
|
|
|
|
|
|
patchPhase = "sed -e 1s@/usr@${perl}@ -i utils/touch-mtime.pl";
|
2007-10-01 15:14:50 +00:00
|
|
|
}
|