2019-03-11 07:18:32 +00:00
|
|
|
{ stdenv, fetchFromGitHub, boost, libxml2, pkgconfig, docbook2x, curl, autoreconfHook, cppunit }:
|
2015-09-13 13:24:02 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-11 07:18:32 +00:00
|
|
|
pname = "libcmis";
|
|
|
|
version = "0.5.2";
|
2015-09-13 13:24:02 +01:00
|
|
|
|
2019-03-11 07:18:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tdf";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0s6prfh55hn11vrs72ph1gs01v0vngly81pvyjm5v1sgwymdxx57";
|
2015-09-13 13:24:02 +01:00
|
|
|
};
|
|
|
|
|
2019-03-11 07:18:32 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig docbook2x ];
|
|
|
|
buildInputs = [ boost libxml2 curl cppunit ];
|
2016-03-22 20:59:00 +00:00
|
|
|
|
2019-03-11 07:18:32 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-werror"
|
|
|
|
"DOCBOOK2MAN=${docbook2x}/bin/docbook2man"
|
|
|
|
];
|
2015-09-13 13:24:02 +01:00
|
|
|
|
2019-03-11 07:18:32 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2015-09-13 13:24:02 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C++ client library for the CMIS interface";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sourceforge.net/projects/libcmis/";
|
2015-09-13 13:24:02 +01:00
|
|
|
license = licenses.gpl2;
|
2018-11-15 21:39:03 +00:00
|
|
|
platforms = platforms.unix;
|
2015-09-13 13:24:02 +01:00
|
|
|
};
|
|
|
|
}
|