summary refs log blame commit diff
path: root/pkgs/development/libraries/soprano/default.nix
blob: 4739c7363979eae596a94eebe15fc37e8270576a (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                      

                         
                         


                                                         
                                                                    

    
                                      
 
                                                                                                     

                                                             
                                          




                                                                      
                                                          


                                 
{ stdenv, fetchurl, cmake, qt4, clucene_core, librdf_redland, libiodbc
, pkgconfig }:

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

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

  patches = [ ./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 ];

  nativeBuildInputs = [ cmake pkgconfig ];

  meta = {
    homepage = http://soprano.sourceforge.net/;
    description = "An object-oriented C++/Qt4 framework for RDF data";
    license = "LGPL";
    maintainers = with stdenv.lib.maintainers; [ sander ];
    inherit (qt4.meta) platforms;
  };
}