feat(packages): add anydoc — Rust document→Markdown converter #4

Merged
harald merged 1 commit from hermes/package-anydoc into main 2026-08-05 23:12:21 +02:00 AGit
Contributor

Package anydoc 0.1.3 from the crates.io source (not in nixpkgs) via
rustPlatform.buildRustPackage + fetchCrate. The published crate ships only
the library plus an examples/convert.rs (no --help); a src/bin/anydoc.rs CLI
wrapping the library is injected at build time to match the official CLI
surface (-o/-f/-h/-V, stdin via -). Registry-normalized Cargo.toml disables
autobins, so the bin target is declared explicitly.

Verified: nix eval packages.x86_64-linux.anydoc.outPath, nix run anydoc --
--help (exit 0), real CSV→Markdown conversion from stdin, nix flake check.

Package anydoc 0.1.3 from the crates.io source (not in nixpkgs) via rustPlatform.buildRustPackage + fetchCrate. The published crate ships only the library plus an examples/convert.rs (no --help); a src/bin/anydoc.rs CLI wrapping the library is injected at build time to match the official CLI surface (-o/-f/-h/-V, stdin via -). Registry-normalized Cargo.toml disables autobins, so the [[bin]] target is declared explicitly. Verified: nix eval packages.x86_64-linux.anydoc.outPath, nix run anydoc -- --help (exit 0), real CSV→Markdown conversion from stdin, nix flake check.
Package anydoc 0.1.3 from the crates.io source (not in nixpkgs) via
rustPlatform.buildRustPackage + fetchCrate. The published crate ships only
the library plus an examples/convert.rs (no --help); a src/bin/anydoc.rs CLI
wrapping the library is injected at build time to match the official CLI
surface (-o/-f/-h/-V, stdin via -). Registry-normalized Cargo.toml disables
autobins, so the [[bin]] target is declared explicitly.

Verified: nix eval packages.x86_64-linux.anydoc.outPath, nix run anydoc --
--help (exit 0), real CSV→Markdown conversion from stdin, nix flake check.
harald merged commit 9be577722e into main 2026-08-05 23:12:21 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harald/nixcfg!4
No description provided.