1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poetry-core,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "terminaltexteffects";
11 version = "0.12.0";
12 pyproject = true;
13
14 disabled = pythonOlder "3.8";
15
16 # no tests on pypi, no tags on github
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-hL+n7vxNA+3jual5TSaiJN80hRU0+ZPfaiN/23RFQu8=";
20 };
21
22 build-system = [ poetry-core ];
23
24 pythonImportsCheck = [ "terminaltexteffects" ];
25
26 meta = with lib; {
27 description = "Collection of visual effects that can be applied to terminal piped stdin text";
28 homepage = "https://chrisbuilds.github.io/terminaltexteffects";
29 changelog = "https://chrisbuilds.github.io/terminaltexteffects/changeblog/";
30 license = licenses.mit;
31 platforms = with platforms; unix;
32 maintainers = with maintainers; [ eihqnh ];
33 mainProgram = "tte";
34 };
35}