Add virtuoso database
Very minimal installation needed by KDE svn path=/nixpkgs/trunk/; revision=20932
This commit is contained in:
parent
fd94e443d2
commit
d22cb2fdb5
30
pkgs/servers/sql/virtuoso/default.nix
Normal file
30
pkgs/servers/sql/virtuoso/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
a:
|
||||||
|
let
|
||||||
|
inherit (a) stdenv fetchurl libxml2 openssl readline;
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "virtuoso-opensource-6.1.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sf/virtuoso/${name}.tar.gz";
|
||||||
|
sha256 = "1kwsb4j7k1a4mnbpjzn4hpg3bwx0bjndan5x8ffpagk5ardqi5b4";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ libxml2 openssl readline ];
|
||||||
|
|
||||||
|
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 $out/share/doc
|
||||||
|
mv $out/share/virtuoso/doc $out/share/doc/${name}
|
||||||
|
find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete
|
||||||
|
'';
|
||||||
|
}
|
@ -5631,6 +5631,8 @@ let
|
|||||||
inherit fetchurl stdenv jdk apacheAnt unzip;
|
inherit fetchurl stdenv jdk apacheAnt unzip;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtuoso = makeOverridable (import ../servers/sql/virtuoso) pkgs;
|
||||||
|
|
||||||
vsftpd = import ../servers/ftp/vsftpd {
|
vsftpd = import ../servers/ftp/vsftpd {
|
||||||
inherit fetchurl openssl stdenv libcap pam;
|
inherit fetchurl openssl stdenv libcap pam;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user