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,18 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "CoinMP-${version}";
version = "1.7.6";
src = fetchurl {
url = "http://www.coin-or.org/download/source/CoinMP/${name}.tgz";
sha256 = "0gqi2vqkg35gazzzv8asnhihchnbjcd6bzjfzqhmj7wy1dw9iiw6";
};
meta = with stdenv.lib; {
homepage = https://projects.coin-or.org/CoinMP/;
description = "COIN-OR lightweight API for COIN-OR libraries CLP, CBC, and CGL";
platforms = platforms.linux;
license = licenses.epl10;
};
}

View File

@@ -0,0 +1,20 @@
{ stdenv, fetchurl, boost, doxygen, gperf, pkgconfig, librevenge, libxml2, perl }:
stdenv.mkDerivation rec {
name = "libabw-${version}";
version = "0.1.1";
src = fetchurl {
url = "http://dev-www.libreoffice.org/src/libabw/${name}.tar.xz";
sha256 = "0zi1zj4fpxgpglbbb5n1kg3dmhqq5rpf46lli89r5daavp19iing";
};
buildInputs = [ boost doxygen gperf pkgconfig librevenge libxml2 perl ];
meta = with stdenv.lib; {
homepage = https://wiki.documentfoundation.org/DLP/Libraries/libabw;
description = "Library parsing abiword documents";
platforms = platforms.linux;
license = licenses.mpl20;
};
}

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;
};
}

View File

@@ -0,0 +1,20 @@
{ stdenv, fetchurl, boost, pkgconfig, librevenge, zlib }:
stdenv.mkDerivation rec {
name = "libwps-${version}";
version = "0.4.1";
src = fetchurl {
url = "mirror://sourceforge/libwps/${name}.tar.gz";
sha256 = "0nc44ia5sn9mmhkq5hjacz0vm520wldq03whc5psgcb9dahvsjsc";
};
buildInputs = [ boost pkgconfig librevenge zlib ];
meta = with stdenv.lib; {
homepage = http://libwps.sourceforge.net/;
description = "Microsoft Works file word processor format import filter library";
platforms = platforms.linux;
license = licenses.lgpl21;
};
}