Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
1.2 KiB
Nix
43 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "doxx";
|
|
version = "0-unstable-2025-08-18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bgreenwell";
|
|
repo = "doxx";
|
|
rev = "5c957470de1fa937cf96cd847286e2d3ee37cbee";
|
|
hash = "sha256-ZCvb8FnGdpzEDqYCIFjg+hiO3OZNnZ2+dSDVLx+crTU=";
|
|
};
|
|
|
|
cargoHash = "sha256-1i+IAQc55HYrqJm3Hx0frphSQp7jYGa6i0eOvHVMdCI=";
|
|
|
|
postInstall = ''
|
|
rm $out/bin/generate_test_docs
|
|
'';
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Terminal document viewer for .docx files";
|
|
longDescription = ''
|
|
`doxx` is a lightning-fast, terminal-native document viewer for
|
|
Microsoft Word files. Built with Rust for performance and
|
|
reliability, it brings Word documents to your command line with
|
|
beautiful rendering, smart table support, and powerful export
|
|
capabilities.
|
|
'';
|
|
homepage = "https://github.com/bgreenwell/doxx";
|
|
changelog = "https://github.com/bgreenwell/doxx/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ yiyu ];
|
|
mainProgram = "doxx";
|
|
};
|
|
})
|