Files
nixpkgs/pkgs/by-name/ti/tidy-viewer/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

35 lines
982 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "tidy-viewer";
version = "1.8.93";
src = fetchFromGitHub {
owner = "alexhallam";
repo = "tv";
rev = version;
sha256 = "sha256-wiVcdTnjEFh5kSyxmK+ab0LkEAbQaygmLdrFfM12DyM=";
};
cargoHash = "sha256-HF7M4s2OHCAyVkbCIBxGButAxbxrhjmY3YE/do8et1s=";
# this test parses command line arguments
# error: Found argument '--test-threads' which wasn't expected, or isn't valid in this context
checkFlags = [
"--skip=build_reader_can_create_reader_without_file_specified"
];
meta = {
description = "Cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment";
mainProgram = "tidy-viewer";
homepage = "https://github.com/alexhallam/tv";
changelog = "https://github.com/alexhallam/tv/blob/${version}/CHANGELOG.md";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ figsoda ];
};
}