diff --git a/pkgs/applications/editors/teehee/default.nix b/pkgs/applications/editors/teehee/default.nix new file mode 100644 index 000000000000..271609c4464a --- /dev/null +++ b/pkgs/applications/editors/teehee/default.nix @@ -0,0 +1,27 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "teehee"; + version = "0.2.8"; + + src = fetchFromGitHub { + owner = "Gskartwii"; + repo = "teehee"; + rev = "v${version}"; + hash = "sha256-yTterXAev6eOnUe1/MJV8s8dUYJcXHDKVJ6T0G/JHzI="; + }; + + cargoHash = "sha256-hEc7MaqTXMrKiosYacPw/b1ANnfZKdlhThOp2h14fg4="; + + meta = with lib; { + description = "A modal terminal hex editor"; + homepage = "https://github.com/Gskartwii/teehee"; + changelog = "https://github.com/Gskartwii/teehee/releases/tag/${src.rev}"; + license = licenses.asl20; + maintainers = with maintainers; [ figsoda ]; + mainProgram = "teehee"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 578799196242..c0eb55d45992 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13670,6 +13670,8 @@ with pkgs; teamviewer = libsForQt5.callPackage ../applications/networking/remote/teamviewer { }; + teehee = callPackage ../applications/editors/teehee { }; + teip = callPackage ../tools/text/teip { }; telegraf = callPackage ../servers/monitoring/telegraf { };