{ lib, stdenv, rustPlatform, fetchFromGitHub, }: rustPlatform.buildRustPackage rec { pname = "heh"; version = "0.6.1"; src = fetchFromGitHub { owner = "ndd7xv"; repo = "heh"; rev = "v${version}"; hash = "sha256-eqWBTylvXqGhWdSGHdTM1ZURSD5pkUBoBOvBJ5zmJ7w="; }; useFetchCargoVendor = true; cargoHash = "sha256-Sk/eL5Pza9L8GLBxqL9SqMT7KDWZenMjV+sGYaWUnzo="; meta = with lib; { description = "Cross-platform terminal UI used for modifying file data in hex or ASCII"; homepage = "https://github.com/ndd7xv/heh"; changelog = "https://github.com/ndd7xv/heh/releases/tag/${src.rev}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ piturnah ]; mainProgram = "heh"; }; }