libreoffice: 5.0.0.5 -> 5.0.1.2, refactor

I've extracted some of libraries and made expression simpler.

(cherry picked from commit 66e6f99d40350a4b2a235913a1fa77d88b1a44a6)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Domen Kožar
2015-09-13 14:24:02 +02:00
parent 0b4ec468c5
commit 60ad36ba67
9 changed files with 144 additions and 283 deletions

View File

@@ -0,0 +1,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;
};
}