ted: enable on darwin (#413439)
This commit is contained in:
@@ -9,10 +9,11 @@
|
||||
libjpeg,
|
||||
libtiff,
|
||||
libpng,
|
||||
gtk2,
|
||||
gtk2-x11,
|
||||
libpaper,
|
||||
makeWrapper,
|
||||
ghostscript,
|
||||
libXft,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.nluug.nl/pub/editors/${pname}/${pname}-${version}.src.tar.gz";
|
||||
sha256 = "0v1ipynyjklb3chd1vq26a21sjjg66sir57gi2kkrbwnpk195a9z";
|
||||
hash = "sha256-P6mSwryWrzyniO+UHLUxT0odhDIC79AgG4tO6a2/MWw=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
@@ -56,6 +57,8 @@ stdenv.mkDerivation rec {
|
||||
"compile.shared"
|
||||
];
|
||||
|
||||
env.NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-liconv";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -91,11 +94,12 @@ stdenv.mkDerivation rec {
|
||||
libjpeg
|
||||
libtiff
|
||||
libpng
|
||||
gtk2
|
||||
gtk2-x11
|
||||
libpaper
|
||||
libXft
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Easy rich text processor";
|
||||
longDescription = ''
|
||||
Ted is a text processor running under X Windows on Unix/Linux systems.
|
||||
@@ -109,10 +113,9 @@ stdenv.mkDerivation rec {
|
||||
MS-Word. Additionally, Ted also is an RTF to PostScript and an RTF to
|
||||
Acrobat PDF converter.
|
||||
'';
|
||||
homepage = "https://nllgg.nl/Ted/";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.all;
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
maintainers = with maintainers; [ obadz ];
|
||||
homepage = "https://ftp.nluug.nl/pub/editors/ted/";
|
||||
license = lib.licenses.gpl2Only;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ obadz ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user