From c4484420e3da01b758827b2367185b195bbc8ad2 Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 28 Aug 2023 16:06:13 -0400 Subject: [PATCH] teehee: init at 0.2.8 https://github.com/Gskartwii/teehee --- pkgs/applications/editors/teehee/default.nix | 27 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/editors/teehee/default.nix 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 { };