aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/libghostty-vt/nix/pkgs/blessed.nix
blob: da5d6958d842ad0e321253e8167bb1c32f56fd6e (plain) (blame)
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
39
40
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  flit-core,
  six,
  wcwidth,
}:
buildPythonPackage (finalAttrs: {
  pname = "blessed";
  version = "1.31";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "jquast";
    repo = "blessed";
    tag = finalAttrs.version;
    hash = "sha256-Nn+aiDk0Qwk9xAvAqtzds/WlrLAozjPL1eSVNU75tJA=";
  };

  build-system = [flit-core];

  propagatedBuildInputs = [
    wcwidth
    six
  ];

  doCheck = false;
  dontCheckRuntimeDeps = true;

  meta = with lib; {
    homepage = "https://github.com/jquast/blessed";
    description = "Thin, practical wrapper around terminal capabilities in Python";
    maintainers = [];
    license = licenses.mit;
  };
})