2011-08-30 00:43:03 +02:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, clucene_core, librdf_redland, libiodbc }:
|
2011-07-07 22:48:51 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-08-15 20:06:26 +02:00
|
|
|
name = "soprano-2.7.0";
|
2011-07-07 22:48:51 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/soprano/${name}.tar.bz2";
|
2011-08-15 20:06:26 +02:00
|
|
|
sha256 = "1ki92wg0i9nhn1fh5mdcls5h9h3lf2k5r66snsags4x7zw0dmv2z";
|
2011-07-07 22:48:51 +02:00
|
|
|
};
|
|
|
|
|
2011-09-05 23:02:21 +02:00
|
|
|
patches =
|
2011-09-27 17:40:40 +02:00
|
|
|
[ (fetchurl { # Applied upstream, remove if upgrading
|
2011-09-05 23:02:21 +02:00
|
|
|
url = https://git.reviewboard.kde.org/r/102466/diff/raw/;
|
|
|
|
name = "soprano-virtuoso-restart.patch";
|
|
|
|
sha256 = "0jk038fp7ii6847mbxdajhhc7f6ap6lriaklxcqqxf6ddj37gf3y";
|
|
|
|
})
|
2011-09-08 00:53:11 +02:00
|
|
|
./find-virtuoso.patch
|
2011-09-05 23:02:21 +02:00
|
|
|
];
|
2011-08-30 00:43:03 +02:00
|
|
|
|
2011-07-07 22:48:51 +02:00
|
|
|
# We disable the Java backend, since we do not need them and they make the closure size much bigger
|
2011-09-27 17:40:40 +02:00
|
|
|
buildInputs = [ qt4 clucene_core librdf_redland libiodbc ];
|
|
|
|
|
|
|
|
buildNativeInputs = [ cmake ];
|
2011-07-07 22:48:51 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://soprano.sourceforge.net/;
|
|
|
|
description = "An object-oriented C++/Qt4 framework for RDF data";
|
|
|
|
license = "LGPL";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
|
|
|
inherit (qt4.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|