nixpkgs-suyu/pkgs/desktops/kde-4.7/support/soprano/default.nix

31 lines
973 B
Nix
Raw Normal View History

{ 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 {
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 = [ cmake qt4 clucene_core librdf_redland libiodbc ];
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;
};
}