1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "teehee";
9 version = "0.2.8";
10
11 src = fetchFromGitHub {
12 owner = "Gskartwii";
13 repo = "teehee";
14 rev = "v${version}";
15 hash = "sha256-yTterXAev6eOnUe1/MJV8s8dUYJcXHDKVJ6T0G/JHzI=";
16 };
17
18 cargoHash = "sha256-PebwLIFBA6NdEXCQoEZzPFsSTMz8o2s+yOMyElrR4TM=";
19
20 meta = with lib; {
21 description = "Modal terminal hex editor";
22 homepage = "https://github.com/Gskartwii/teehee";
23 changelog = "https://github.com/Gskartwii/teehee/releases/tag/${src.rev}";
24 license = licenses.asl20;
25 maintainers = with maintainers; [ figsoda ];
26 mainProgram = "teehee";
27 };
28}