nixpkgs/pkgs/by-name/he/hextazy/package.nix
2025-05-17 19:48:46 +02:00

30 lines
722 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "hextazy";
version = "0.8";
src = fetchFromGitHub {
owner = "0xfalafel";
repo = "hextazy";
tag = version;
hash = "sha256-6G0mD55BLMfqpgz1wtQBsAfGKlRcVEYJAPQJ3z8Yxnw=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-1i0nngfqF4R/ILbNHrCW1NIEFTfQ5nRhjdKy7uebPi8=";
meta = {
description = "TUI hexeditor in Rust with colored bytes";
homepage = "https://github.com/0xfalafel/hextazy";
changelog = "https://github.com/0xfalafel/hextazy/releases/tag/${src.rev}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ akechishiro ];
mainProgram = "hextazy";
};
}