2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gtk3, fribidi
|
2020-04-24 23:36:52 +00:00
|
|
|
, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg, perl
|
2021-05-20 23:08:51 +00:00
|
|
|
, boost, libxslt, goffice, wrapGAppsHook, gnome
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "abiword";
|
2022-01-13 20:06:32 +00:00
|
|
|
version = "3.0.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.abisource.com/downloads/abiword/${version}/source/${pname}-${version}.tar.gz";
|
2022-01-13 20:06:32 +00:00
|
|
|
hash = "sha256-ElckfplwUI1tFFbT4zDNGQnEtCsl4PChvDJSbW86IbQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3 librsvg bzip2 fribidi libpng popt
|
2021-05-20 23:08:51 +00:00
|
|
|
libgsf enchant wv libjpeg perl boost libxslt goffice gnome.adwaita-icon-theme
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Word processing program, similar to Microsoft Word";
|
|
|
|
homepage = "https://www.abisource.com/";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ylwghst sna ];
|
|
|
|
};
|
|
|
|
}
|