about summary refs log tree commit diff
path: root/third_party/gopkgs/github.com/mattn/go-isatty/default.nix
blob: 6ba12afff76313ef8ee10ddf46e91fcf7c5b18d6 (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-isatty";
  src = pkgs.fetchFromGitHub {
    owner = "mattn";
    repo = "go-isatty";
    rev = "v0.0.12";
    sha256 = "1dfsh27d52wmz0nmmzm2382pfrs2fcijvh6cgir7jbb4pnigr5w4";
  };

  deps = with depot.third_party; [
    gopkgs."golang.org".x.sys.unix
  ];
}