about summary refs log tree commit diff
path: root/third_party/gopkgs/github.com/mattn/go-runewidth/default.nix
blob: 3186a066291d3b12e3732ee526ef141689f002ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ depot, pkgs, ... }:

depot.nix.buildGo.external {
  path = "github.com/mattn/go-runewidth";
  src = pkgs.fetchFromGitHub {
    owner = "mattn";
    repo = "go-runewidth";
    rev = "v0.0.10";
    sha256 = "0jh9552ppqvkdfni7x623n0x5mbiaqqhjhmr0zkh28x56k4ysii4";
  };

  deps = with depot.third_party; [
    gopkgs."github.com".rivo.uniseg
  ];
}