nixpkgs/pkgs/applications/office/abiword/default.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

2018-03-29 10:25:32 +02:00
{ stdenv, fetchurl, pkgconfig, gtk3, fribidi
, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg, perl
2019-02-13 22:47:50 +01:00
, boost, libxslt, goffice, wrapGAppsHook, gnome3
}:
stdenv.mkDerivation rec {
name = "abiword-${version}";
2017-11-03 15:38:33 +01:00
version = "3.0.2";
src = fetchurl {
2018-03-29 10:25:32 +02:00
url = "https://www.abisource.com/downloads/abiword/${version}/source/${name}.tar.gz";
2017-11-03 15:38:33 +01:00
sha256 = "08imry821g81apdwym3gcs4nss0l9j5blqk31j5rv602zmcd9gxg";
};
enableParallelBuilding = true;
2017-11-03 15:38:33 +01:00
patches = [
2017-11-26 00:49:11 +01:00
# https://bugzilla.abisource.com/show_bug.cgi?id=13791
(fetchurl {
url = https://bugzilla.abisource.com/attachment.cgi?id=5860;
sha256 = "02p8kz02xm1197zcpzjs010mna9hxsbq5lwgxr8b7qhh9yxja7al";
})
2017-11-03 15:38:33 +01:00
];
2018-03-29 10:25:32 +02:00
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
2018-03-29 10:25:32 +02:00
buildInputs = [
gtk3 librsvg bzip2 fribidi libpng popt
2019-02-13 22:47:50 +01:00
libgsf enchant wv libjpeg perl boost libxslt goffice gnome3.adwaita-icon-theme
2018-03-29 10:25:32 +02:00
];
2014-06-23 12:54:46 +02:00
meta = with stdenv.lib; {
description = "Word processing program, similar to Microsoft Word";
2018-03-29 10:25:32 +02:00
homepage = https://www.abisource.com/;
2014-06-23 12:54:46 +02:00
license = licenses.gpl3;
platforms = platforms.linux;
2017-11-03 15:38:33 +01:00
maintainers = with maintainers; [ pSub ylwghst ];
};
}