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