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