2009-04-22 01:18:09 +02:00
|
|
|
args: with args;
|
|
|
|
|
2009-09-23 01:07:35 +02:00
|
|
|
let name = "redland-${version}";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
2007-10-01 17:14:50 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-02-10 18:42:11 +01:00
|
|
|
url = "mirror://sf/librdf/${name}.tar.gz";
|
2009-09-23 01:07:35 +02:00
|
|
|
sha256 = "8a77fcfd20fea2c6e53761d6dcbbee3fdb35e5308de36c1daa0d2014e5a96afe";
|
2007-10-01 17:14:50 +02:00
|
|
|
};
|
2009-04-22 01:18:09 +02:00
|
|
|
|
2009-09-23 01:07:35 +02:00
|
|
|
buildInputs = [pkgconfig librdf_raptor];
|
2009-04-22 01:18:09 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bdb openssl libxslt perl mysql postgresql sqlite curl pcre libxml2
|
2009-09-23 01:07:35 +02:00
|
|
|
librdf_rasqal librdf_raptor
|
2009-04-22 01:18:09 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = "--with-threads --with-bdb=${bdb}";
|
|
|
|
|
|
|
|
patchPhase = "sed -e 1s@/usr@${perl}@ -i utils/touch-mtime.pl";
|
2007-10-01 17:14:50 +02:00
|
|
|
}
|