diff options
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/development/python-modules/terminaltexteffects/default.nix | 36 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
4 files changed, 46 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index cf3f3c27dab75..5e75b6df321e7 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 0000000000000..8cea46f094e66 --- /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 387f462ebb091..ceac535c016ac 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 4bcc8ea7d1388..91ad70676080a 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 { }; |