aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/libghostty-vt/nix/pkgs/wcwidth.nix
blob: 4bbd1373b8eb481615182a364734739549b12888 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  hatchling,
}:
buildPythonPackage rec {
  pname = "wcwidth";
  version = "0.6.0";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-zcTkJi1u+aGlfgGDhMvrEgjYq7xkF2An4sJFXIExMVk=";
  };

  build-system = [hatchling];

  doCheck = false;

  meta = with lib; {
    description = "Measures the displayed width of unicode strings in a terminal";
    homepage = "https://github.com/jquast/wcwidth";
    license = licenses.mit;
    maintainers = [];
  };
}