2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libxml2, openssl, readline, gawk }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "virtuoso-opensource";
|
|
|
|
version = "7.2.4.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "mirror://sourceforge/virtuoso/${pname}-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "12dqam1gc1v93l0bj0vlpvjqppki6y1hqrlznywxnw0rrz9pb002";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libxml2 openssl readline gawk ];
|
|
|
|
|
|
|
|
CPP = "${stdenv.cc}/bin/gcc -E";
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-shared" "--disable-all-vads" "--with-readline=${readline.dev}"
|
|
|
|
"--disable-hslookup" "--disable-wbxml2" "--without-iodbc"
|
|
|
|
"--enable-openssl=${openssl.dev}"
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall=''
|
|
|
|
echo Moving documentation
|
|
|
|
mkdir -pv $out/share/doc
|
2021-08-05 21:33:18 +00:00
|
|
|
mv -v $out/share/virtuoso/doc $out/share/doc/${pname}-${version}
|
2020-04-24 23:36:52 +00:00
|
|
|
echo Removing jars and empty directories
|
|
|
|
find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "SQL/RDF database used by, e.g., KDE-nepomuk";
|
|
|
|
homepage = "http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/";
|
|
|
|
#configure: The current version [...] can only be built on 64bit platforms
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|