2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, boost, libxml2, pkg-config, docbook2x, curl, autoreconfHook, cppunit }:
|
2015-09-13 12:24:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-11 07:18:32 +00:00
|
|
|
pname = "libcmis";
|
|
|
|
version = "0.5.2";
|
2015-09-13 12:24:02 +00:00
|
|
|
|
2019-03-11 07:18:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tdf";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0s6prfh55hn11vrs72ph1gs01v0vngly81pvyjm5v1sgwymdxx57";
|
2015-09-13 12:24:02 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config docbook2x ];
|
2019-03-11 07:18:32 +00:00
|
|
|
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 12:24:02 +00:00
|
|
|
|
2019-03-11 07:18:32 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2015-09-13 12:24:02 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-09-13 12:24:02 +00:00
|
|
|
description = "C++ client library for the CMIS interface";
|
2022-05-05 00:52:27 +00:00
|
|
|
homepage = "https://github.com/tdf/libcmis";
|
2015-09-13 12:24:02 +00:00
|
|
|
license = licenses.gpl2;
|
2022-05-05 00:52:27 +00:00
|
|
|
mainProgram = "cmis-client";
|
2018-11-15 21:39:03 +00:00
|
|
|
platforms = platforms.unix;
|
2015-09-13 12:24:02 +00:00
|
|
|
};
|
|
|
|
}
|