diff --git a/pkgs/applications/terminal-emulators/kermit-terminal/default.nix b/pkgs/applications/terminal-emulators/kermit-terminal/default.nix new file mode 100644 index 000000000000..c9672389d3cc --- /dev/null +++ b/pkgs/applications/terminal-emulators/kermit-terminal/default.nix @@ -0,0 +1,50 @@ +{ lib +, stdenv +, fetchFromGitHub +, fetchpatch +, cmake +, gtk3 +, pcre +, pkg-config +, vte +}: + +stdenv.mkDerivation rec { + pname = "kermit"; + version = "3.5"; + + src = fetchFromGitHub { + name = "${pname}-${version}-src"; + owner = "orhun"; + repo = pname; + rev = version; + hash = "sha256-bdy2iPUV3flZrf4otuw40Xn1t/82H7ayjr7yzHLPo74="; + }; + + patches = [ + # Manpage installation. Remove it when next release arrives + (fetchpatch { + url = "https://patch-diff.githubusercontent.com/raw/orhun/kermit/pull/21.patch"; + hash = "sha256-mcsKQNEPgJOWFmOxKii2en2CwpUbT6tO2/YAlRSUL2A="; + }) + ]; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + gtk3 + pcre + vte + ]; + + meta = with lib; { + homepage = "https://github.com/orhun/kermit"; + description = "A VTE-based, simple and froggy terminal emulator"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = with platforms; unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f97547586154..21a7c9233831 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1133,6 +1133,8 @@ with pkgs; iterm2 = callPackage ../applications/terminal-emulators/iterm2 { }; + kermit-terminal = callPackage ../applications/terminal-emulators/kermit-terminal { }; + kitty = callPackage ../applications/terminal-emulators/kitty { harfbuzz = harfbuzz.override { withCoreText = stdenv.isDarwin; }; inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation IOKit Kernel OpenGL;