at 18.03-beta 27 lines 839 B view raw
1{ stdenv, fetchurl, boost, libxml2, pkgconfig, curl, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 name = "libcmis-${version}"; 5 version = "0.5.0"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/libcmis/${name}.tar.gz"; 9 sha256 = "1dprvk4fibylv24l7gr49gfqbkfgmxynvgssvdcycgpf7n8h4zm8"; 10 }; 11 12 patches = [ ./gcc5.patch ]; 13 14 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 15 buildInputs = [ boost libxml2 curl ]; 16 configureFlags = "--without-man --with-boost=${boost.dev} --disable-werror --disable-tests"; 17 18 # Cppcheck cannot find all the include files (use --check-config for details) 19 doCheck = false; 20 21 meta = with stdenv.lib; { 22 description = "C++ client library for the CMIS interface"; 23 homepage = https://sourceforge.net/projects/libcmis/; 24 license = licenses.gpl2; 25 platforms = platforms.linux; 26 }; 27}