nixpkgs/pkgs/by-name/he/hextazy/package.nix
2024-09-20 04:20:45 +00:00

29 lines
698 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "hextazy";
version = "0.7";
src = fetchFromGitHub {
owner = "0xfalafel";
repo = "hextazy";
rev = "${version}";
hash = "sha256-j8KY8OTYG+Hl86OppbMyAFBSA89TO7hc8mcNgTGTlgM=";
};
cargoHash = "sha256-Ue7ukYkpNkoD9IRy/EWMsB5kMzwWny8onVNeN+3WWgQ=";
meta = {
description = "TUI hexeditor in Rust with colored bytes";
homepage = "https://github.com/0xfalafel/hextazy";
changelog = "https://github.com/0xfalafel/hextazy/releases/tags/${src.rev}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ akechishiro ];
mainProgram = "hextazy";
};
}