nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 terminaltexteffects,
7}:
8
9buildPythonPackage rec {
10 pname = "textualeffects";
11 version = "0.2.0";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-5C84ZdvcgVgxroFZycOdHdB4my3qK8b4wVxD4kd+XfE=";
17 };
18
19 build-system = [ hatchling ];
20
21 dependencies = [ terminaltexteffects ];
22
23 pythonImportsCheck = [ "textualeffects" ];
24
25 # no tests implemented
26 doCheck = false;
27
28 meta = {
29 description = "Visual effects for Textual, a TerminalTextEffects wrapper";
30 homepage = "https://github.com/ggozad/textualeffects";
31 changelog = "https://github.com/ggozad/textualeffects/blob/v${version}/CHANGES.txt";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ gaelj ];
34 };
35}