2011-08-29 23:43:03 +01:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, clucene_core, librdf_redland, libiodbc }:
|
2011-07-07 21:48:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-08-15 19:06:26 +01:00
|
|
|
name = "soprano-2.7.0";
|
2011-07-07 21:48:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/soprano/${name}.tar.bz2";
|
2011-08-15 19:06:26 +01:00
|
|
|
sha256 = "1ki92wg0i9nhn1fh5mdcls5h9h3lf2k5r66snsags4x7zw0dmv2z";
|
2011-07-07 21:48:51 +01:00
|
|
|
};
|
|
|
|
|
2011-09-05 22:02:21 +01:00
|
|
|
patches =
|
2011-09-27 16:40:40 +01:00
|
|
|
[ (fetchurl { # Applied upstream, remove if upgrading
|
2011-09-05 22:02:21 +01:00
|
|
|
url = https://git.reviewboard.kde.org/r/102466/diff/raw/;
|
|
|
|
name = "soprano-virtuoso-restart.patch";
|
|
|
|
sha256 = "0jk038fp7ii6847mbxdajhhc7f6ap6lriaklxcqqxf6ddj37gf3y";
|
|
|
|
})
|
2011-09-07 23:53:11 +01:00
|
|
|
./find-virtuoso.patch
|
2011-09-05 22:02:21 +01:00
|
|
|
];
|
2011-08-29 23:43:03 +01:00
|
|
|
|
2011-07-07 21:48:51 +01:00
|
|
|
# We disable the Java backend, since we do not need them and they make the closure size much bigger
|
2011-09-27 16:40:40 +01:00
|
|
|
buildInputs = [ qt4 clucene_core librdf_redland libiodbc ];
|
|
|
|
|
|
|
|
buildNativeInputs = [ cmake ];
|
2011-07-07 21:48:51 +01: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;
|
|
|
|
};
|
|
|
|
}
|