termtekst: init -> 1.0 (#43045)

authored by leenaars and committed by xeji 5902e11c 29021eab

+38
+36
pkgs/misc/emulators/termtekst/default.nix
··· 1 + { lib, fetchFromGitHub, python3Packages, ncurses }: 2 + 3 + python3Packages.buildPythonApplication rec { 4 + pname = "termtekst"; 5 + version = "1.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "zevv"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "1gm7j5d49a60wm7px82b76f610i8pl8ccz4r6qsz90z4mp3lyw9b"; 12 + }; 13 + 14 + propagatedBuildInputs = with python3Packages; [ ncurses requests ]; 15 + 16 + patchPhase = '' 17 + substituteInPlace setup.py \ 18 + --replace "assert" "assert 1==1 #" 19 + substituteInPlace src/tt \ 20 + --replace "locale.setlocale" "#locale.setlocale" 21 + ''; 22 + 23 + meta = with lib; { 24 + description = ''Console NOS Teletekst viewer in Python''; 25 + longDescription = '' 26 + Small Python app using curses to display Dutch NOS Teletekst on 27 + the Linux console. The original Teletekst font includes 2x6 28 + raster graphics glyphs which have no representation in unicode; 29 + as a workaround the braille set is abused to approximate the 30 + graphics. 31 + ''; 32 + license = licenses.mit; 33 + maintainers = with maintainers; [ leenaars ]; 34 + platforms = platforms.all; 35 + }; 36 + }
+2
pkgs/top-level/all-packages.nix
··· 14936 14936 14937 14937 terminus_font_ttf = callPackage ../data/fonts/terminus-font-ttf { }; 14938 14938 14939 + termtekst = callPackage ../misc/emulators/termtekst { }; 14940 + 14939 14941 tex-gyre = callPackages ../data/fonts/tex-gyre { }; 14940 14942 14941 14943 tex-gyre-math = callPackages ../data/fonts/tex-gyre-math { };