tvl-depot/third_party/gopkgs/github.com/charmbracelet/lipgloss/default.nix
Profpatsch 952d5480bc feat(third_party/gopkgs): add charmbracelet/{bubbletea,bubbles}
A small go TUI framework based on the Elm Architecture.

Change-Id: I0c400a7b25af682735bfc5061db179e5d1dd75ab
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2853
Reviewed-by: Profpatsch <mail@profpatsch.de>
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
2021-04-23 18:30:06 +00:00

21 lines
639 B
Nix

{ depot, pkgs, ... }:
depot.nix.buildGo.external {
path = "github.com/charmbracelet/lipgloss";
src = pkgs.fetchFromGitHub {
owner = "charmbracelet";
repo = "lipgloss";
# unreleased version required by bubbletea
rev = "v0.1.0";
sha256 = "1chhs492rsq7i4mr6qpjv3d89rvsd23ri6psnmil3ah6i286vl06";
};
deps = with depot.third_party; [
# gopkgs."github.com".charmbracelet.bubbletea
gopkgs."github.com".lucasb-eyer.go-colorful
gopkgs."github.com".muesli.reflow.ansi
gopkgs."github.com".muesli.reflow.truncate
gopkgs."github.com".muesli.reflow.wordwrap
gopkgs."github.com".muesli.termenv
];
}