abiword: clean up
This commit is contained in:
parent
97f93789a9
commit
e54342d47e
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk3, libglade, libgnomecanvas, fribidi
|
{ stdenv, fetchurl, pkgconfig, gtk3, fribidi
|
||||||
, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg, perl
|
, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg, perl
|
||||||
, boost, libxslt, goffice, makeWrapper, iconTheme
|
, boost, libxslt, goffice, wrapGAppsHook, iconTheme
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
version = "3.0.2";
|
version = "3.0.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.abisource.com/downloads/abiword/${version}/source/${name}.tar.gz";
|
url = "https://www.abisource.com/downloads/abiword/${version}/source/${name}.tar.gz";
|
||||||
sha256 = "08imry821g81apdwym3gcs4nss0l9j5blqk31j5rv602zmcd9gxg";
|
sha256 = "08imry821g81apdwym3gcs4nss0l9j5blqk31j5rv602zmcd9gxg";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -22,19 +22,16 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs =
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
||||||
[ pkgconfig gtk3 libglade librsvg bzip2 libgnomecanvas fribidi libpng popt
|
|
||||||
libgsf enchant wv libjpeg perl boost libxslt goffice makeWrapper iconTheme
|
|
||||||
];
|
|
||||||
|
|
||||||
postFixup = ''
|
buildInputs = [
|
||||||
wrapProgram "$out/bin/abiword" \
|
gtk3 librsvg bzip2 fribidi libpng popt
|
||||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
|
libgsf enchant wv libjpeg perl boost libxslt goffice iconTheme
|
||||||
'';
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Word processing program, similar to Microsoft Word";
|
description = "Word processing program, similar to Microsoft Word";
|
||||||
homepage = http://www.abisource.com/;
|
homepage = https://www.abisource.com/;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ pSub ylwghst ];
|
maintainers = with maintainers; [ pSub ylwghst ];
|
||||||
|
@ -14648,7 +14648,6 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
|
|
||||||
abiword = callPackage ../applications/office/abiword {
|
abiword = callPackage ../applications/office/abiword {
|
||||||
inherit (gnome2) libglade libgnomecanvas;
|
|
||||||
iconTheme = gnome3.defaultIconTheme;
|
iconTheme = gnome3.defaultIconTheme;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user