2014-09-26 21:26:32 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk3, libglade, libgnomecanvas, fribidi
|
|
|
|
, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg, perl
|
2015-06-11 20:06:35 +01:00
|
|
|
, boost, libxslt, goffice, makeWrapper, iconTheme
|
2006-07-08 13:44:00 +01:00
|
|
|
}:
|
|
|
|
|
2014-09-26 21:26:32 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "abiword-${version}";
|
2015-01-18 17:19:49 +00:00
|
|
|
version = "3.0.1";
|
2012-12-12 05:02:05 +00:00
|
|
|
|
2006-07-08 13:44:00 +01:00
|
|
|
src = fetchurl {
|
2014-09-26 21:26:32 +01:00
|
|
|
url = "http://www.abisource.org/downloads/abiword/${version}/source/${name}.tar.gz";
|
2015-01-18 17:19:49 +00:00
|
|
|
sha256 = "1ik591rx15nn3n1297cwykl8wvrlgj78i528id9wbidgy3xzd570";
|
2006-07-08 13:44:00 +01:00
|
|
|
};
|
|
|
|
|
2012-12-12 05:02:50 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2010-07-28 16:35:01 +01:00
|
|
|
buildInputs =
|
2014-09-26 21:26:32 +01:00
|
|
|
[ pkgconfig gtk3 libglade librsvg bzip2 libgnomecanvas fribidi libpng popt
|
2015-06-11 20:06:35 +01:00
|
|
|
libgsf enchant wv libjpeg perl boost libxslt goffice makeWrapper iconTheme
|
2010-07-28 16:35:01 +01:00
|
|
|
];
|
2013-10-05 15:22:46 +01:00
|
|
|
|
2015-06-11 20:06:35 +01:00
|
|
|
postFixup = ''
|
|
|
|
wrapProgram "$out/bin/abiword" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
'';
|
|
|
|
|
2014-06-23 11:54:46 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-06-23 11:44:21 +01:00
|
|
|
description = "Word processing program, similar to Microsoft Word";
|
2014-06-23 11:54:46 +01:00
|
|
|
homepage = http://www.abisource.com/;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2014-09-26 21:26:32 +01:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2013-10-05 15:22:46 +01:00
|
|
|
};
|
2006-07-08 13:44:00 +01:00
|
|
|
}
|