python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libcmis / default.nix
blobf5a9974f3bcfa8414f4e9e68ba5ea407565154f1
1 { lib, stdenv, fetchFromGitHub, boost, libxml2, pkg-config, docbook2x, curl, autoreconfHook, cppunit }:
3 stdenv.mkDerivation rec {
4   pname = "libcmis";
5   version = "0.5.2";
7   src = fetchFromGitHub {
8     owner = "tdf";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "0s6prfh55hn11vrs72ph1gs01v0vngly81pvyjm5v1sgwymdxx57";
12   };
14   nativeBuildInputs = [ autoreconfHook pkg-config docbook2x ];
15   buildInputs = [ boost libxml2 curl cppunit ];
17   configureFlags = [
18     "--disable-werror"
19     "DOCBOOK2MAN=${docbook2x}/bin/docbook2man"
20   ];
22   doCheck = true;
24   enableParallelBuilding = true;
26   meta = with lib; {
27     description = "C++ client library for the CMIS interface";
28     homepage = "https://github.com/tdf/libcmis";
29     license = licenses.gpl2;
30     mainProgram = "cmis-client";
31     platforms = platforms.unix;
32   };