summary refs log tree commit diff
path: root/pkgs/development/libraries/libcmis/default.nix
blob: 5535623298afbf30b0580cd3c26a7f6f53996f10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, boost, libxml2, pkgconfig, curl }:

stdenv.mkDerivation rec {
  name = "libcmis-${version}";
  version = "0.5.0";

  src = fetchurl {
    url = "mirror://sourceforge/libcmis/${name}.tar.gz";
    sha256 = "1dprvk4fibylv24l7gr49gfqbkfgmxynvgssvdcycgpf7n8h4zm8";
  };

  buildInputs = [ boost libxml2 pkgconfig curl ];
  configureFlags = "--without-man --with-boost=${boost.dev} --disable-werror --disable-tests";

  # Cppcheck cannot find all the include files (use --check-config for details)
  doCheck = false;

  meta = with stdenv.lib; {
    description = "C++ client library for the CMIS interface";
    homepage = https://sourceforge.net/projects/libcmis/;
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}