2016-03-22 21:59:00 +01:00
|
|
|
{ stdenv, fetchurl, boost, libxml2, pkgconfig, curl, autoreconfHook }:
|
2015-09-13 14:24:02 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libcmis-${version}";
|
|
|
|
version = "0.5.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libcmis/${name}.tar.gz";
|
|
|
|
sha256 = "1dprvk4fibylv24l7gr49gfqbkfgmxynvgssvdcycgpf7n8h4zm8";
|
|
|
|
};
|
|
|
|
|
2016-03-22 21:59:00 +01:00
|
|
|
patches = [ ./gcc5.patch ];
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ boost libxml2 curl ];
|
2015-09-13 14:24:02 +02:00
|
|
|
configureFlags = "--without-man --with-boost=${boost.dev} --disable-werror --disable-tests";
|
|
|
|
|
|
|
|
# Cppcheck cannot find all the include files (use --check-config for details)
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C++ client library for the CMIS interface";
|
|
|
|
homepage = https://sourceforge.net/projects/libcmis/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|