2024-07-11 23:15:53 +02:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
fetchFromGitHub,
|
|
|
|
|
rustPlatform,
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
|
pname = "hextazy";
|
2024-09-20 04:20:45 +00:00
|
|
|
version = "0.7";
|
2024-07-11 23:15:53 +02:00
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2024-07-24 17:11:31 +02:00
|
|
|
owner = "0xfalafel";
|
2024-07-11 23:15:53 +02:00
|
|
|
repo = "hextazy";
|
|
|
|
|
rev = "${version}";
|
2024-09-20 04:20:45 +00:00
|
|
|
hash = "sha256-j8KY8OTYG+Hl86OppbMyAFBSA89TO7hc8mcNgTGTlgM=";
|
2024-07-11 23:15:53 +02:00
|
|
|
};
|
|
|
|
|
|
2025-01-23 08:45:31 +01:00
|
|
|
useFetchCargoVendor = true;
|
|
|
|
|
cargoHash = "sha256-JPY1mge4aqO/QERCXYk+HzONjDJHi5og6lwQ68nUxqE=";
|
2024-07-11 23:15:53 +02:00
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "TUI hexeditor in Rust with colored bytes";
|
2024-07-24 17:11:31 +02:00
|
|
|
homepage = "https://github.com/0xfalafel/hextazy";
|
|
|
|
|
changelog = "https://github.com/0xfalafel/hextazy/releases/tags/${src.rev}";
|
2024-07-11 23:15:53 +02:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
|
maintainers = with lib.maintainers; [ akechishiro ];
|
|
|
|
|
mainProgram = "hextazy";
|
|
|
|
|
};
|
|
|
|
|
}
|