1 { lib, fetchFromGitHub, python3Packages, ncurses }:
3 python3Packages.buildPythonApplication rec {
7 src = fetchFromGitHub {
11 sha256 = "1gm7j5d49a60wm7px82b76f610i8pl8ccz4r6qsz90z4mp3lyw9b";
14 propagatedBuildInputs = with python3Packages; [ ncurses requests ];
17 substituteInPlace setup.py \
18 --replace "assert" "assert 1==1 #"
19 substituteInPlace src/tt \
20 --replace "locale.setlocale" "#locale.setlocale"
24 description = "Console NOS Teletekst viewer in Python";
27 Small Python app using curses to display Dutch NOS Teletekst on
28 the Linux console. The original Teletekst font includes 2x6
29 raster graphics glyphs which have no representation in unicode;
30 as a workaround the braille set is abused to approximate the
33 license = licenses.mit;
34 maintainers = with maintainers; [ leenaars ];
35 platforms = platforms.all;