about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ro/roxterm/package.nix
blob: 8a978e98b6d43676c3fac5cdd7d67eb26bce0ea3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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.15.0";

  src = fetchFromGitHub {
    owner = "realh";
    repo = "roxterm";
    rev = finalAttrs.version;
    hash = "sha256-mmfnpZTCsLJ4EPxsKZXeHBZnpvc2n1TCEPmiIHmnxKc=";
  };

  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;
  };
})