nixpkgs/pkgs/development/libraries/redland/1.0.9.nix
Marc Weber 47828714e4 redland 1.0.9 breaks kde-4.3. So also provide 1.0.8
svn path=/nixpkgs/trunk/; revision=17357
2009-09-22 23:07:35 +00:00

25 lines
549 B
Nix

args: with args;
let name = "redland-${version}";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://sf/librdf/${name}.tar.gz";
sha256 = "aa90ded84f5dd4cc2330bf79d139e00ceb93c6a9b94d17e1a93449ad579e1524";
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [
bdb openssl libxslt perl mysql postgresql sqlite curl pcre libxml2
librdf_raptor librdf_rasqal
];
configureFlags = "--with-threads --with-bdb=${bdb}";
patchPhase = "sed -e 1s@/usr@${perl}@ -i utils/touch-mtime.pl";
}