diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index cf3f3c27dab7..5e75b6df321e 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -16986,6 +16986,12 @@ githubId = 2141853; name = "Bang Lee"; }; + qwqawawow = { + email = "eihqnh@outlook.com"; + github = "qwqawawow"; + githubId = 40905037; + name = "qwqawawow"; + }; qyliss = { email = "hi@alyssa.is"; github = "alyssais"; diff --git a/pkgs/development/python-modules/terminaltexteffects/default.nix b/pkgs/development/python-modules/terminaltexteffects/default.nix new file mode 100644 index 000000000000..8cea46f094e6 --- /dev/null +++ b/pkgs/development/python-modules/terminaltexteffects/default.nix @@ -0,0 +1,36 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + poetry-core, + pytestCheckHook, + pythonOlder, +}: + +buildPythonPackage rec { + pname = "terminaltexteffects"; + version = "0.10.1"; + pyproject = true; + + disabled = pythonOlder "3.8"; + + # no tests on pypi, no tags on github + src = fetchPypi { + inherit pname version; + hash = "sha256-NyWPfdgLeXAxKPJOzB7j4aT+zjrURN59CGcv0Vt99y0="; + }; + + build-system = [ poetry-core ]; + + pythonImportsCheck = [ "terminaltexteffects" ]; + + meta = with lib; { + description = "A collection of visual effects that can be applied to terminal piped stdin text"; + homepage = "https://chrisbuilds.github.io/terminaltexteffects"; + changelog = "https://chrisbuilds.github.io/terminaltexteffects/changeblog/"; + license = licenses.mit; + platforms = with platforms; unix; + maintainers = with maintainers; [ qwqawawow ]; + mainProgram = "tte"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 387f462ebb09..ceac535c016a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34702,6 +34702,8 @@ with pkgs; termimage = callPackage ../tools/graphics/termimage { }; + terminaltexteffects = with python3Packages; toPythonApplication terminaltexteffects ; + terminal-notifier = callPackage ../applications/misc/terminal-notifier { }; textplots = callPackage ../tools/graphics/textplots { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4bcc8ea7d138..91ad70676080 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15053,6 +15053,8 @@ self: super: with self; { terminaltables = callPackage ../development/python-modules/terminaltables { }; + terminaltexteffects = callPackage ../development/python-modules/terminaltexteffects { }; + termplotlib = callPackage ../development/python-modules/termplotlib { }; termstyle = callPackage ../development/python-modules/termstyle { };