Skip to content

Commit c9a3a47

Browse files
yzhou216kirillrdy
andauthored
doxx: init at 0-unstable-2025-08-18 (#434616)
Co-authored-by: kirillrdy <[email protected]>
1 parent e325df9 commit c9a3a47

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

pkgs/by-name/do/doxx/package.nix

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchFromGitHub,
5+
nix-update-script,
6+
}:
7+
8+
rustPlatform.buildRustPackage (finalAttrs: {
9+
pname = "doxx";
10+
version = "0-unstable-2025-08-18";
11+
12+
src = fetchFromGitHub {
13+
owner = "bgreenwell";
14+
repo = "doxx";
15+
rev = "5c957470de1fa937cf96cd847286e2d3ee37cbee";
16+
hash = "sha256-ZCvb8FnGdpzEDqYCIFjg+hiO3OZNnZ2+dSDVLx+crTU=";
17+
};
18+
19+
cargoHash = "sha256-1i+IAQc55HYrqJm3Hx0frphSQp7jYGa6i0eOvHVMdCI=";
20+
21+
postInstall = ''
22+
rm $out/bin/generate_test_docs
23+
'';
24+
25+
passthru.updateScript = nix-update-script { };
26+
27+
meta = {
28+
description = "Terminal document viewer for .docx files";
29+
longDescription = ''
30+
`doxx` is a lightning-fast, terminal-native document viewer for
31+
Microsoft Word files. Built with Rust for performance and
32+
reliability, it brings Word documents to your command line with
33+
beautiful rendering, smart table support, and powerful export
34+
capabilities.
35+
'';
36+
homepage = "https://github.com/bgreenwell/doxx";
37+
changelog = "https://github.com/bgreenwell/doxx/blob/${finalAttrs.src.rev}/CHANGELOG.md";
38+
license = lib.licenses.mit;
39+
maintainers = with lib.maintainers; [ yiyu ];
40+
mainProgram = "doxx";
41+
};
42+
})

0 commit comments

Comments
 (0)