depot/third_party/nixpkgs/pkgs/development/python-modules/terminaltexteffects/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

36 lines
897 B
Nix

{
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";
};
}