Merge pull request #276338 from atorres1985-contrib/roxterm

Roxterm: update and adopt
This commit is contained in:
Thiago Kenji Okada 2023-12-31 16:37:15 +00:00 committed by GitHub
commit 139d58a77d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 98 additions and 41 deletions

View File

@ -1,39 +0,0 @@
{ at-spi2-core, cmake, dbus, dbus-glib, docbook_xsl, libepoxy, fetchFromGitHub
, glib, gtk3, harfbuzz, libXdmcp, libXtst, libpthreadstubs
, libselinux, libsepol, libtasn1, libxkbcommon, libxslt, p11-kit, pcre2
, pkg-config, lib, stdenv, util-linuxMinimal, vte, wrapGAppsHook, xmlto, nixosTests
}:
stdenv.mkDerivation rec {
pname = "roxterm";
version = "3.14.2";
src = fetchFromGitHub {
owner = "realh";
repo = "roxterm";
rev = version;
sha256 = "sha256-LBxVZ5Az0vGalbQd437of5a3aoZH51v6OKTfndHkkiM=";
};
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook libxslt ];
buildInputs =
[ gtk3 dbus dbus-glib vte pcre2 harfbuzz libpthreadstubs libXdmcp
util-linuxMinimal glib docbook_xsl xmlto libselinux
libsepol libxkbcommon libepoxy at-spi2-core libXtst libtasn1 p11-kit
];
passthru.tests.test = nixosTests.terminal-emulators.roxterm;
meta = with lib; {
homepage = "https://github.com/realh/roxterm";
license = licenses.gpl3;
description = "Tabbed, VTE-based terminal emulator";
longDescription = ''
Tabbed, VTE-based terminal emulator. Similar to gnome-terminal without
the dependencies on Gnome.
'';
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,98 @@
{
at-spi2-core
, cmake
, dbus
, dbus-glib
, docbook_xsl
, fetchFromGitHub
, glib
, gtk3
, harfbuzz
, lib
, libXdmcp
, libXtst
, libepoxy
, libpthreadstubs
, libselinux
, libsepol
, libtasn1
, libxkbcommon
, libxslt
, nixosTests
, p11-kit
, pcre2
, pkg-config
, stdenv
, util-linuxMinimal
, vte
, wrapGAppsHook
, xmlto
}:
stdenv.mkDerivation (finalAttrs: {
pname = "roxterm";
version = "3.14.3";
src = fetchFromGitHub {
owner = "realh";
repo = "roxterm";
rev = finalAttrs.version;
hash = "sha256-NSOGq3rN+9X4WA8Q0gMbZ9spO/dbZkzeo4zEno/Kgcs=";
};
nativeBuildInputs = [
cmake
libxslt
pkg-config
wrapGAppsHook
];
buildInputs = [
at-spi2-core
dbus
dbus-glib
docbook_xsl
glib
gtk3
harfbuzz
libXdmcp
libXtst
libepoxy
libpthreadstubs
libselinux
libsepol
libtasn1
libxkbcommon
p11-kit
pcre2
util-linuxMinimal
vte
xmlto
];
passthru.tests.test = nixosTests.terminal-emulators.roxterm;
meta = {
homepage = "https://github.com/realh/roxterm";
description = " A highly configurable terminal emulator";
longDescription = ''
ROXTerm is a terminal emulator intended to provide similar features to
gnome-terminal, based on the same VTE library. It was originally designed
to have a smaller footprint and quicker start-up time by not using the
Gnome libraries and by using a separate applet to provide the
configuration GUI, but thanks to all the features it's acquired over the
years ROXTerm can probably now be accused of bloat. However, it is more
configurable than gnome-terminal and aimed more at "power" users who make
heavy use of terminals.
It still supports the ROX desktop application layout it was named after,
but can also be installed in a more conventional manner for use in other
desktop environments.
'';
changelog = "https://github.com/realh/roxterm/blob/${finalAttrs.src.rev}/debian/changelog";
license = with lib.licenses; [ gpl2Plus gpl3Plus lgpl3Plus ];
mainProgram = "roxterm";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.linux;
};
})

View File

@ -3085,8 +3085,6 @@ with pkgs;
mrxvt = callPackage ../applications/terminal-emulators/mrxvt { };
roxterm = callPackage ../applications/terminal-emulators/roxterm { };
rxvt = callPackage ../applications/terminal-emulators/rxvt { };
rxvt-unicode = callPackage ../applications/terminal-emulators/rxvt-unicode/wrapper.nix { };