mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
40e41fe362
svn path=/nixpkgs/branches/stdenv-updates/; revision=10615
16 lines
470 B
Nix
16 lines
470 B
Nix
args:
|
|
with args;
|
|
stdenv.mkDerivation rec {
|
|
name = "redland-1.0.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sf/librdf/${name}.tar.gz";
|
|
sha256 = "1z160hhrnlyy5c8vh2hjza6kdfmzml8mg9dk8yffifkhnxjq5r2z";
|
|
};
|
|
buildInputs = [pkgconfig];
|
|
propagatedBuildInputs = [ bdb openssl libxslt perl mysql postgresql sqlite
|
|
curl pcre];
|
|
configureFlags = "--disable-static --with-threads --with-bdb=${bdb}";
|
|
patchPhase="sed -e 1s@/usr@${perl}@ -i utils/touch-mtime.pl";
|
|
}
|