depot/third_party/gopkgs/github.com/mattn/go-isatty/default.nix

19 lines
477 B
Nix
Raw Normal View History

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.external {
path = "github.com/mattn/go-isatty";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "mattn";
repo = "go-isatty";
rev = "v0.0.14";
hash = "sha256:015zc3j60vb85d7f2al15la24wn45piazxlagqhzrbgfdyqci60z";
};
deps = with depot.third_party; [
gopkgs."golang.org".x.sys.unix
];
}