1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 hash = "sha256-di7SBuB4LsnqlP3BdMcsSLj4zpyKA/ninVpRyR9AJaI=";
14 cargoHash = "sha256-fXrdOiCmRgMPJxZIS/SkTkZZkag8ZUhNnMlU4k1m/+0=";
17 description = "Command-line hex viewer";
19 `hexyl` is a simple hex viewer for the terminal. It uses a colored
20 output to distinguish different categories of bytes (NULL bytes,
21 printable ASCII characters, ASCII whitespace characters, other ASCII
22 characters and non-ASCII).
24 homepage = "https://github.com/sharkdp/hexyl";
25 changelog = "https://github.com/sharkdp/hexyl/blob/v${version}/CHANGELOG.md";
26 license = with licenses; [ asl20 /* or */ mit ];
27 maintainers = with maintainers; [ dywedir figsoda SuperSandro2000 ];
28 mainProgram = "hexyl";