@@ -1,53 +0,0 @@
1−{ stdenv, fetchFromGitHub, qt5 }:
2−
3−stdenv.mkDerivation rec {
4− version = "0.9";
5− name = "cool-old-term-${version}";
6−
7− src = fetchFromGitHub {
8− owner = "Swordifish90";
9− repo = "cool-old-term";
10− rev = "2494bc05228290545df8c59c05624a4b903e9068";
11− sha256 = "8462f3eded7b2219acc143258544b0dfac32d81e10cac61ff14276d426704c93";
12− };
13−
14− buildInputs = [ qt5 ];
15−
16− buildPhase = ''
17− pushd ./konsole-qml-plugin
18− qmake konsole-qml-plugin.pro PREFIX=$out
19− make
20− popd
21− '';
22−
23− installPhase = ''
24− pushd ./konsole-qml-plugin
25− make install
26− popd
27−
28− install -d $out/bin $out/lib/cool-old-term $out/share/cool-old-term
29− cp -a ./imports $out/lib/cool-old-term/
30− cp -a ./app $out/share/cool-old-term/
31−
32− cat > $out/bin/cool-old-term <<EOF
33− #!${stdenv.shell}
34− ${qt5}/bin/qmlscene -I $out/lib/cool-old-term/imports $out/share/cool-old-term/app/main.qml
35− EOF
36− chmod a+x $out/bin/cool-old-term
37− '';
38−
39− enableParallelBuilding = true;
40−
41− meta = {
42− description = "Terminal emulator which mimics the old cathode display";
43− longDescription = ''
44− cool-old-term is a terminal emulator which tries to mimic the look and
45− feel of the old cathode tube screens. It has been designed to be
46− eye-candy, customizable, and reasonably lightweight.
47− '';
48− homepage = "https://github.com/Swordifish90/cool-old-term";
49− licenses = with stdenv.lib.licenses; [ gpl2 gpl3 ];
50− platforms = stdenv.lib.platforms.linux;
51− maintainers = with stdenv.lib.maintainers; [ skeidel ];
52− };
53−}