15 pname = "cool-retro-term";
17 src = fetchFromGitHub {
18 owner = "Swordfish90";
19 repo = "cool-retro-term";
20 rev = "refs/tags/${version}";
21 hash = "sha256-PewHLVmo+RTBHIQ/y2FBkgXsIvujYd7u56JdFC10B4c=";
25 sed -i -e '/qmltermwidget/d' cool-retro-term.pro
35 nativeBuildInputs = [ qmake ];
37 installFlags = [ "INSTALL_ROOT=$(out)" ];
40 mv $out/usr/share $out/share
41 mv $out/usr/bin $out/bin
43 '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
44 ln -s $out/bin/cool-retro-term.app/Contents/MacOS/cool-retro-term $out/bin/cool-retro-term
47 passthru.tests.test = nixosTests.terminal-emulators.cool-retro-term;
50 description = "Terminal emulator which mimics the old cathode display";
52 cool-retro-term is a terminal emulator which tries to mimic the look and
53 feel of the old cathode tube screens. It has been designed to be
54 eye-candy, customizable, and reasonably lightweight.
56 homepage = "https://github.com/Swordfish90/cool-retro-term";
57 license = lib.licenses.gpl3Plus;
58 platforms = with lib.platforms; linux ++ darwin;
60 mainProgram = "cool-retro-term";