nixpkgs/pkgs/by-name/ro/roxterm/package.nix
Winter a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d5c88a98d674f637d092807cfc12253.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e4587d75882aebc21a04bee960418f8ce9
2025-04-08 02:57:25 -04:00

103 lines
2.2 KiB
Nix

{
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,
wrapGAppsHook3,
xmlto,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "roxterm";
version = "3.15.3";
src = fetchFromGitHub {
owner = "realh";
repo = "roxterm";
rev = finalAttrs.version;
hash = "sha256-IvbAL96tILXgeutoSKhNkxxfLb+d2xgKUuvyGobOTUs=";
};
nativeBuildInputs = [
cmake
libxslt
pkg-config
wrapGAppsHook3
];
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; [ ];
platforms = lib.platforms.linux;
};
})