nixpkgs/pkgs/development/libraries/redland/default.nix
Yury G. Kudryashov 7d9d5b1484 Added redland library (also known as librdf)
svn path=/nixpkgs/trunk/; revision=9390
2007-10-01 15:14:50 +00:00

13 lines
424 B
Nix

args:
with args;
stdenv.mkDerivation {
name = "redland-1.0.6";
src = fetchurl {
url = http://prdownloads.sourceforge.net/librdf/redland-1.0.6.tar.gz;
sha256 = "16hm8s6wy43avy4xcsq74n2dyzwzsdq2h2l2jav0by7s6mkh5gxw";
};
buildInputs = [ bdb openssl libxml2 pkgconfig perl];
configureFlags="--without-static --with-threads --with-bdb=${bdb}";
patchPhase="sed -e 1s@/usr@${perl}@ -i utils/touch-mtime.pl";
}