mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
3a90a80a9d
The gtk3 file dialogs were crashing, as always without wrapping. /cc maintainer @pSub.
35 lines
1.0 KiB
Nix
35 lines
1.0 KiB
Nix
{ stdenv, fetchurl, pkgconfig, gtk3, libglade, libgnomecanvas, fribidi
|
|
, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg, perl
|
|
, boost, libxslt, goffice, makeWrapper, iconTheme
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "abiword-${version}";
|
|
version = "3.0.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.abisource.org/downloads/abiword/${version}/source/${name}.tar.gz";
|
|
sha256 = "1ik591rx15nn3n1297cwykl8wvrlgj78i528id9wbidgy3xzd570";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
buildInputs =
|
|
[ pkgconfig gtk3 libglade librsvg bzip2 libgnomecanvas fribidi libpng popt
|
|
libgsf enchant wv libjpeg perl boost libxslt goffice makeWrapper iconTheme
|
|
];
|
|
|
|
postFixup = ''
|
|
wrapProgram "$out/bin/abiword" \
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Word processing program, similar to Microsoft Word";
|
|
homepage = http://www.abisource.com/;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|