nixpkgs/pkgs/servers/sql/virtuoso/default.nix
Eelco Dolstra ad51692715 * Style fixes.
svn path=/nixpkgs/trunk/; revision=29048
2011-09-05 21:02:21 +00:00

33 lines
953 B
Nix

{ stdenv, fetchurl, libxml2, openssl, readline, gawk }:
stdenv.mkDerivation rec {
name = "virtuoso-opensource-6.1.3";
src = fetchurl {
url = "mirror://sourceforge/virtuoso/${name}.tar.gz";
sha256 = "0rj629qjsibpllazngbhzhsh90x6nidpn292qz1xdvirwvb2h3s2";
};
buildInputs = [ libxml2 openssl readline gawk ];
CPP = "${stdenv.gcc}/bin/gcc -E";
configureFlags = "
--enable-shared --disable-all-vads --with-readline=${readline}
--disable-hslookup --disable-wbxml2 --without-iodbc
--enable-openssl=${openssl}
";
postInstall=''
echo Move documentation
mkdir -pv $out/share/doc
mv -v $out/share/virtuoso/doc $out/share/doc/${name}
find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete
'';
meta = with stdenv.lib; {
homepage = http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/;
platforms = platforms.all;
maintainers = [ maintainers.urkud ];
};
}