lol
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "clima";
9 version = "1.1.0";
10
11 src = fetchFromGitHub {
12 owner = "Canop";
13 repo = "clima";
14 rev = "v${version}";
15 hash = "sha256-CRnAxhkuCTyHR4uQofA51Dm3+YKqm3iwBkFNkbLTv1A=";
16 };
17
18 cargoHash = "sha256-3BNDo5ksra1d8X6yQZYSlS2CSiZfkuTHkQtIC2ckbKE=";
19
20 meta = with lib; {
21 description = "Minimal viewer for Termimad";
22 homepage = "https://github.com/Canop/clima";
23 changelog = "https://github.com/Canop/clima/releases/tag/${src.rev}";
24 license = licenses.mit;
25 maintainers = with maintainers; [ figsoda ];
26 mainProgram = "clima";
27 };
28}