nixpkgs/pkgs/by-name/he/hextazy/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
728 B
Nix
Raw Normal View History

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 {
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
};
useFetchCargoVendor = true;
cargoHash = "sha256-JPY1mge4aqO/QERCXYk+HzONjDJHi5og6lwQ68nUxqE=";
2024-07-11 23:15:53 +02:00
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}";
2024-07-11 23:15:53 +02:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ akechishiro ];
mainProgram = "hextazy";
};
}