about summary refs log tree commit diff
path: root/third_party/gopkgs/github.com/muesli/reflow/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gopkgs/github.com/muesli/reflow/default.nix')
-rw-r--r--third_party/gopkgs/github.com/muesli/reflow/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/gopkgs/github.com/muesli/reflow/default.nix b/third_party/gopkgs/github.com/muesli/reflow/default.nix
new file mode 100644
index 000000000000..c7c50795c017
--- /dev/null
+++ b/third_party/gopkgs/github.com/muesli/reflow/default.nix
@@ -0,0 +1,16 @@
+{ depot, pkgs, ... }:
+
+depot.nix.buildGo.external {
+  path = "github.com/muesli/reflow";
+  src = pkgs.fetchFromGitHub {
+    owner = "muesli";
+    repo = "reflow";
+    # unreleased version required by bubbletea
+    rev = "9e1d0d53df68baf262851201166872afafd04e5d";
+    sha256 = "08bmkqdn7sb5laqc1mvgk4xj31f600n1y04s1ifppjvszbcsxhid";
+  };
+
+  deps = with depot.third_party; [
+    gopkgs."github.com".mattn.go-runewidth
+  ];
+}