2010-05-01 00:41:40 -07:00
|
|
|
{ stdenv, fetchurl, libxml2, openssl, readline, gawk }:
|
|
|
|
|
2010-04-03 10:34:14 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-21 04:44:16 -07:00
|
|
|
name = "virtuoso-opensource-7.2.4.2";
|
2010-04-03 10:34:14 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-09-05 14:02:21 -07:00
|
|
|
url = "mirror://sourceforge/virtuoso/${name}.tar.gz";
|
2018-03-21 04:44:16 -07:00
|
|
|
sha256 = "12dqam1gc1v93l0bj0vlpvjqppki6y1hqrlznywxnw0rrz9pb002";
|
2010-04-03 10:34:14 -07:00
|
|
|
};
|
|
|
|
|
2010-08-06 03:34:34 -07:00
|
|
|
buildInputs = [ libxml2 openssl readline gawk ];
|
2010-04-03 10:34:14 -07:00
|
|
|
|
2014-12-17 10:11:30 -08:00
|
|
|
CPP = "${stdenv.cc}/bin/gcc -E";
|
2010-04-03 10:34:14 -07:00
|
|
|
|
2018-07-25 14:44:21 -07:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-shared" "--disable-all-vads" "--with-readline=${readline.dev}"
|
|
|
|
"--disable-hslookup" "--disable-wbxml2" "--without-iodbc"
|
|
|
|
"--enable-openssl=${openssl.dev}"
|
|
|
|
];
|
2010-04-03 10:34:14 -07:00
|
|
|
|
|
|
|
postInstall=''
|
2011-09-27 08:40:45 -07:00
|
|
|
echo Moving documentation
|
2011-08-10 02:43:20 -07:00
|
|
|
mkdir -pv $out/share/doc
|
|
|
|
mv -v $out/share/virtuoso/doc $out/share/doc/${name}
|
2011-12-14 06:09:53 -08:00
|
|
|
echo Removing jars and empty directories
|
2010-04-03 10:34:14 -07:00
|
|
|
find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete
|
|
|
|
'';
|
2014-08-14 09:16:48 -07:00
|
|
|
|
2010-05-01 00:07:31 -07:00
|
|
|
meta = with stdenv.lib; {
|
2011-09-27 08:40:45 -07:00
|
|
|
description = "SQL/RDF database used by, e.g., KDE-nepomuk";
|
2010-05-01 00:07:31 -07:00
|
|
|
homepage = http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/;
|
2016-04-06 09:16:23 -07:00
|
|
|
#configure: The current version [...] can only be built on 64bit platforms
|
2016-09-01 10:39:33 -07:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2018-11-14 14:14:09 -08:00
|
|
|
license = licenses.gpl2;
|
2010-05-01 00:07:31 -07:00
|
|
|
};
|
2010-04-03 10:34:14 -07:00
|
|
|
}
|