libcmis: 0.5.0 -> 0.5.2, new home, fix and enable tests + man

https://github.com/tdf/libcmis/releases/tag/v0.5.2
https://github.com/tdf/libcmis/releases/tag/v0.5.1
This commit is contained in:
Will Dietz
2019-03-11 02:46:22 -05:00
parent adf0e91799
commit af15ad96b6
2 changed files with 17 additions and 51 deletions
+17 -12
View File
@@ -1,22 +1,27 @@
{ stdenv, fetchurl, boost, libxml2, pkgconfig, curl, autoreconfHook }:
{ stdenv, fetchFromGitHub, boost, libxml2, pkgconfig, docbook2x, curl, autoreconfHook, cppunit }:
stdenv.mkDerivation rec {
name = "libcmis-${version}";
version = "0.5.0";
pname = "libcmis";
version = "0.5.2";
src = fetchurl {
url = "mirror://sourceforge/libcmis/${name}.tar.gz";
sha256 = "1dprvk4fibylv24l7gr49gfqbkfgmxynvgssvdcycgpf7n8h4zm8";
src = fetchFromGitHub {
owner = "tdf";
repo = pname;
rev = "v${version}";
sha256 = "0s6prfh55hn11vrs72ph1gs01v0vngly81pvyjm5v1sgwymdxx57";
};
patches = [ ./gcc5.patch ];
nativeBuildInputs = [ autoreconfHook pkgconfig docbook2x ];
buildInputs = [ boost libxml2 curl cppunit ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ boost libxml2 curl ];
configureFlags = [ "--without-man" "--with-boost=${boost.dev}" "--disable-werror" "--disable-tests" ];
configureFlags = [
"--disable-werror"
"DOCBOOK2MAN=${docbook2x}/bin/docbook2man"
];
# Cppcheck cannot find all the include files (use --check-config for details)
doCheck = false;
doCheck = true;
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "C++ client library for the CMIS interface";