summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators/eterm/default.nix
blob: 328e61f1fe5031c66bcdebb3fdab81f8c2b42ab3 (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
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, imlib2
, libX11
, libXaw
, libXext
, libast
, pkg-config
}:

stdenv.mkDerivation rec {
  pname = "eterm";
  version = "0.9.6-unstable=2020-03-03";

  src = fetchFromGitHub {
    owner = "mej";
    repo = pname;
    rev = "e8fb85b56da21113aaf0f5f7987ae647c4413b6c";
    sha256 = "sha256-pfXYrd6BamBTcnarvXj+C6D1WyGtj87GrW+Dl6AeiDE=";
  };

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
  ];
  buildInputs = [
    imlib2
    libX11
    libXaw
    libXext
    libast
  ];

  meta = with lib; {
    homepage = "https://github.com/mej/Eterm"; # http://www.eterm.org is gone
    description = "Terminal emulator";
    license = licenses.bsd2;
    maintainers = [ maintainers.AndersonTorres ];
    platforms = platforms.linux;
    knownVulnerabilities = [
      "Usage of ANSI escape sequences causes unexpected newline-termination, leading to unexpected command execution (https://www.openwall.com/lists/oss-security/2021/05/17/1)"
    ];
  };
}