2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, imlib2
|
|
|
|
, libX11
|
|
|
|
, libXaw
|
|
|
|
, libXext
|
|
|
|
, libast
|
|
|
|
, pkg-config
|
2022-03-30 09:31:56 +00:00
|
|
|
, nixosTests
|
2021-05-20 23:08:51 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "eterm";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "0.9.6+date=2020-03-03";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mej";
|
|
|
|
repo = pname;
|
|
|
|
rev = "e8fb85b56da21113aaf0f5f7987ae647c4413b6c";
|
|
|
|
sha256 = "sha256-pfXYrd6BamBTcnarvXj+C6D1WyGtj87GrW+Dl6AeiDE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
imlib2
|
|
|
|
libX11
|
|
|
|
libXaw
|
|
|
|
libXext
|
|
|
|
libast
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.eterm;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-02-10 20:34:41 +00:00
|
|
|
homepage = "https://github.com/mej/Eterm"; # http://www.eterm.org is gone
|
2021-05-20 23:08:51 +00:00
|
|
|
description = "Terminal emulator";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
2021-05-20 23:08:51 +00:00
|
|
|
knownVulnerabilities = [
|
2022-05-18 14:49:53 +00:00
|
|
|
''Usage of ANSI escape sequences causes unexpected newline-termination,
|
|
|
|
leading to unexpected command execution. More info at:
|
|
|
|
- https://www.cve.org/CVERecord?id=CVE-2021-33477
|
|
|
|
- https://www.openwall.com/lists/oss-security/2021/05/17/1''
|
2021-05-20 23:08:51 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|