summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/terminal-emulators
diff options
context:
space:
mode:
authorAtemu <atemu.main@gmail.com>2020-09-25 11:40:46 +0200
committerAtemu <atemu.main@gmail.com>2020-10-31 13:37:11 +0100
commit42a9cfe540687fd32cfd23ff511c9e197f2fcc72 (patch)
tree022d3bc790beea34527c40e8fc4ab3e343632c15 /pkgs/applications/terminal-emulators
parent1ecc5c7760b6961327377f2473db2538359da358 (diff)
mlterm: stdenv.lib -> lib
Diffstat (limited to 'pkgs/applications/terminal-emulators')
-rw-r--r--pkgs/applications/terminal-emulators/mlterm/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/applications/terminal-emulators/mlterm/default.nix b/pkgs/applications/terminal-emulators/mlterm/default.nix
index 7c7906fc841f..0ec8d7a47404 100644
--- a/pkgs/applications/terminal-emulators/mlterm/default.nix
+++ b/pkgs/applications/terminal-emulators/mlterm/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, autoconf, makeDesktopItem
+{ stdenv, lib, fetchurl, pkgconfig, autoconf, makeDesktopItem
, libX11, gdk-pixbuf, cairo, libXft, gtk3, vte
, harfbuzz #substituting glyphs with opentype fonts
, fribidi, m17n_lib #bidi and encoding
@@ -46,9 +46,9 @@ stdenv.mkDerivation rec {
-L${stdenv.cc.cc.lib}/lib
-lX11 -lgdk_pixbuf-2.0 -lcairo -lfontconfig -lfreetype -lXft
-lvte-2.91 -lgtk-3 -lharfbuzz -lfribidi -lm17n
- " + stdenv.lib.optionalString (openssl != null) "
+ " + lib.optionalString (openssl != null) "
-lcrypto
- " + stdenv.lib.optionalString (libssh2 != null) "
+ " + lib.optionalString (libssh2 != null) "
-lssh2
";
@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
"--with-tools=mlclient,mlconfig,mlcc,mlterm-menu,mlimgloader,registobmp,mlfc"
#mlterm-menu and mlconfig depend on enabling gnome3.at-spi2-core
#and configuring ~/.mlterm/key correctly.
- ] ++ stdenv.lib.optional (libssh2 == null) "--disable-ssh2";
+ ] ++ lib.optional (libssh2 == null) "--disable-ssh2";
postInstall = ''
install -D contrib/icon/mlterm-icon.svg "$out/share/icons/hicolor/scalable/apps/mlterm.svg"
@@ -80,13 +80,13 @@ stdenv.mkDerivation rec {
comment = "Terminal emulator";
desktopName = "mlterm";
genericName = "Terminal emulator";
- categories = stdenv.lib.concatStringsSep ";" [
+ categories = lib.concatStringsSep ";" [
"Application" "System" "TerminalEmulator"
];
startupNotify = "false";
};
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Multi Lingual TERMinal emulator on X11";
homepage = "http://mlterm.sourceforge.net/";
license = licenses.bsd3;