nixpkgs/pkgs/development/libraries/soprano/default.nix

28 lines
823 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cmake, qt4, clucene_core, librdf_redland, libiodbc
, pkg-config }:
stdenv.mkDerivation rec {
2021-06-22 14:21:29 +01:00
pname = "soprano";
version = "2.9.4";
src = fetchurl {
2021-06-22 14:21:29 +01:00
url = "mirror://sourceforge/soprano/${pname}-${version}.tar.bz2";
2013-12-04 04:51:56 +00:00
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 pkg-config ];
meta = {
homepage = "http://soprano.sourceforge.net/";
description = "An object-oriented C++/Qt4 framework for RDF data";
license = "LGPL";
maintainers = with lib.maintainers; [ sander ];
inherit (qt4.meta) platforms;
};
}