17 src = fetchFromGitHub {
18 owner = "charmbracelet";
21 hash = "sha256-kUsh+jy4dXYW1uAUfFv/HKBqIIyVogLKUYNjBhIKlls=";
24 vendorHash = "sha256-1UBhiRemJ+dQNm20+8pbOJus5abvTwVcuzxNMzrniN8=";
34 "-X=main.Version=${version}"
38 wrapProgram $out/bin/vhs --prefix PATH : ${
40 lib.optionals stdenv.hostPlatform.isLinux [ chromium ]
47 $out/bin/vhs man > vhs.1
49 installShellCompletion --cmd vhs \
50 --bash <($out/bin/vhs completion bash) \
51 --fish <($out/bin/vhs completion fish) \
52 --zsh <($out/bin/vhs completion zsh)
56 description = "Tool for generating terminal GIFs with code";
58 homepage = "https://github.com/charmbracelet/vhs";
59 changelog = "https://github.com/charmbracelet/vhs/releases/tag/v${version}";
60 license = licenses.mit;
61 maintainers = with maintainers; [