File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments