summary refs log tree commit diff
path: root/pkgs/development/libraries/soprano/default.nix
blob: 49e6e6b96df96c8dada7a1aa528bbf0e7c96b048 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ stdenv, fetchurl, cmake, qt4, clucene_core, librdf_redland, libiodbc }:

stdenv.mkDerivation rec {
  name = "soprano-2.7.0";

  src = fetchurl {
    url = "mirror://sourceforge/soprano/${name}.tar.bz2";
    sha256 = "1ki92wg0i9nhn1fh5mdcls5h9h3lf2k5r66snsags4x7zw0dmv2z";
  };

  patches =
    [ (fetchurl { # Applied upstream, remove if upgrading
        url = https://git.reviewboard.kde.org/r/102466/diff/raw/;
        name = "soprano-virtuoso-restart.patch";
        sha256 = "0jk038fp7ii6847mbxdajhhc7f6ap6lriaklxcqqxf6ddj37gf3y";
      })
      ./find-virtuoso.patch 
    ];

  # We disable the Java backend, since we do not need them and they make the closure size much bigger
  buildInputs = [ qt4 clucene_core librdf_redland libiodbc ];

  buildNativeInputs = [ cmake ];

  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;
  };
}