commit 1fe8e107252f8ec25273f4df36f0a2d9bb37768e
parent 31631e70d53d473d017de83da79035965467f070
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Fri, 15 Oct 2021 20:35:29 +0300
Add tcvt
Diffstat:
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -280,6 +280,7 @@ lib.makeScope newScope (
repolocli = callPackage ./misc/repolocli { };
sdorfehs = callPackage ./misc/sdorfehs { };
taskcoach = callPackage ./misc/taskcoach { };
+ tcvt = callPackage ./misc/tcvt { };
tlstunnel = callPackage ./misc/tlstunnel { };
xfractint = callPackage ./misc/xfractint { };
xtr = callPackage ./misc/xtr {
diff --git a/pkgs/misc/tcvt/default.nix b/pkgs/misc/tcvt/default.nix
@@ -0,0 +1,28 @@
+{ lib, stdenv, fetchgit, python3 }:
+
+stdenv.mkDerivation rec {
+ pname = "tcvt";
+ version = "2021-01-22";
+
+ src = fetchgit {
+ url = "git://git.subdivi.de/~helmut/tcvt.git";
+ rev = "2747b2ba0dff190380f9eb7a078c94192dd310f1";
+ sha256 = "sha256-/QT5/NfaIpPKR88Byo7HgS6qs3Zwq06jiMCTRR/tcBU=";
+ };
+
+ buildInputs = [ python3 ];
+
+ postPatch = ''
+ patchShebangs tcvt.py
+ '';
+
+ makeFlags = [ "PREFIX=$(out)" ];
+
+ meta = with lib; {
+ description = "ANSI terminal emulator";
+ homepage = "https://subdivi.de/~helmut/tcvt/";
+ license = licenses.bsd2;
+ maintainers = [ maintainers.sikmir ];
+ platforms = python3.meta.platforms;
+ };
+}