18 rustPlatform.buildRustPackage rec {
22 src = fetchFromGitHub {
26 sha256 = "sha256-WAk7xIrCRfVofn4w+gP5E3wnSZbXm/6MZWlNmtoLm20=";
29 cargoHash = "sha256-ZmY88WcoQiDLSXkBbnE/+jPX713qh6n+nyNXeWWTBKA=";
35 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
45 postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
46 wrapProgram $out/bin/binocle \
47 --suffix LD_LIBRARY_PATH : ${
62 description = "Graphical tool to visualize binary data";
63 mainProgram = "binocle";
64 homepage = "https://github.com/sharkdp/binocle";
65 license = with licenses; [
69 maintainers = with maintainers; [ figsoda ];