summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/textualeffects/default.nix
blob: 889c7314859db25e05cff52d0f0cb9a815302a35 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pythonOlder,
  hatchling,
  terminaltexteffects,
}:

buildPythonPackage rec {
  pname = "textualeffects";
  version = "0.1.3";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-s6LrsCJu/ubDIXQqxQlY2HVbzDc9+FtUE9oBSulUsm8=";
  };

  build-system = [ hatchling ];

  dependencies = [ terminaltexteffects ];

  pythonImportsCheck = [ "textualeffects" ];

  # no tests implemented
  doCheck = false;

  meta = {
    description = "Visual effects for Textual, a TerminalTextEffects wrapper";
    homepage = "https://github.com/ggozad/textualeffects";
    changelog = "https://github.com/ggozad/textualeffects/blob/v${version}/CHANGES.txt";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ gaelj ];
  };
}