diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 47b05822797..8e9c360d2e9 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -13233,7 +13233,7 @@ }; piturnah = { email = "peterhebden6@gmail.com"; - github = "piturnah"; + github = "Piturnah"; githubId = 20472367; name = "Peter Hebden"; }; diff --git a/pkgs/applications/editors/heh/default.nix b/pkgs/applications/editors/heh/default.nix new file mode 100644 index 00000000000..ca044168b84 --- /dev/null +++ b/pkgs/applications/editors/heh/default.nix @@ -0,0 +1,27 @@ +{ lib +, stdenv +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "heh"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "ndd7xv"; + repo = pname; + rev = "v${version}"; + hash = "sha256-IIF/bkTLwR8pCs/hJ625T3NsiKf/6Zf1cW2i4lsiK4U="; + }; + + cargoHash = "sha256-tDvqaNVuzv1BlS/oNI1D/WV1b5uHreT3Ak/6ruqKXQc="; + + meta = with lib; { + description = "A cross-platform terminal UI used for modifying file data in hex or ASCII."; + homepage = "https://github.com/ndd7xv/heh"; + changelog = "https://github.com/ndd7xv/heh/releases/tag/${src.rev}"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ piturnah ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 71f9777d9ac..d89cd8ce407 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1764,6 +1764,8 @@ with pkgs; headset-charge-indicator = callPackage ../tools/audio/headset-charge-indicator { }; + heh = callPackage ../applications/editors/heh { }; + hexdiff = callPackage ../tools/misc/hexdiff { }; httm = darwin.apple_sdk_11_0.callPackage ../tools/filesystems/httm { };