2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, boost, libxml2, pkg-config, docbook2x, curl, autoreconfHook, cppunit }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libcmis";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.6.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tdf";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-HXiyQKjOlQXWABY10XrOiYxPqfpmUJC3a6xD98LIHDw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config docbook2x ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ boost libxml2 curl cppunit ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-werror"
|
|
|
|
"DOCBOOK2MAN=${docbook2x}/bin/docbook2man"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "C++ client library for the CMIS interface";
|
2022-05-18 14:49:53 +00:00
|
|
|
homepage = "https://github.com/tdf/libcmis";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "cmis-client";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|