1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "gimoji";
9 version = "1.1.1";
10
11 src = fetchFromGitHub {
12 owner = "zeenix";
13 repo = "gimoji";
14 rev = version;
15 hash = "sha256-X1IiDnnRXiZBL/JBDfioKc/724TnVKaEjZLrNwX5SoA=";
16 };
17
18 cargoHash = "sha256-vAhHCNsViYyNSKeSGUL2oIp8bp5UCm8HReyDuoFvfqs=";
19
20 meta = with lib; {
21 description = "Easily add emojis to your git commit messages";
22 homepage = "https://github.com/zeenix/gimoji";
23 license = licenses.mit;
24 mainProgram = "gimoji";
25 maintainers = with maintainers; [ a-kenji ];
26 };
27}