From 310919e0711035a1a2fe096637fcf14b5b25fb57 Mon Sep 17 00:00:00 2001 From: AkechiShiro <14914796+AkechiShiro@users.noreply.github.com> Date: Thu, 11 Jul 2024 23:15:53 +0200 Subject: [PATCH] hextazy: init at 0.2 Add licence MIT --- pkgs/by-name/he/hextazy/package.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/by-name/he/hextazy/package.nix diff --git a/pkgs/by-name/he/hextazy/package.nix b/pkgs/by-name/he/hextazy/package.nix new file mode 100644 index 000000000000..d67f5cf25e66 --- /dev/null +++ b/pkgs/by-name/he/hextazy/package.nix @@ -0,0 +1,29 @@ +{ + lib, + stdenv, + fetchFromGitHub, + rustPlatform, +}: + +rustPlatform.buildRustPackage rec { + pname = "hextazy"; + version = "0.2"; + + src = fetchFromGitHub { + owner = "faelian"; + repo = "hextazy"; + rev = "${version}"; + hash = "sha256-e1uoKMejdTz8KH7uFkZ9YCE1WTwaxCZjcxh4g2ermNY="; + }; + + cargoHash = "sha256-5Z+ptr1JmeiP4hK8k+M1d189I0X53/jRUEFwgWGK3xQ="; + + meta = { + description = "TUI hexeditor in Rust with colored bytes"; + homepage = "https://github.com/faelian/hextazy"; + changelog = "https://github.com/faelian/hextazy/releases/tags/${src.rev}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ akechishiro ]; + mainProgram = "hextazy"; + }; +}