2024-03-06 07:37:52 +01:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tenki";
|
2024-05-09 16:55:50 +02:00
|
|
|
version = "1.9.0";
|
2024-03-06 07:37:52 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ckaznable";
|
|
|
|
repo = "tenki";
|
|
|
|
rev = "v${version}";
|
2024-05-09 16:55:50 +02:00
|
|
|
hash = "sha256-b9tByEuZ7mdPJVGgyvCnf+pyBKhO7I/B/Ak8MtM5qhU=";
|
2024-03-06 07:37:52 +01:00
|
|
|
};
|
|
|
|
|
2024-05-09 16:55:50 +02:00
|
|
|
cargoHash = "sha256-WvxO5muh0IGHoZr/ahE9rHs+MiXLGnQq3dgz63TwFRc=";
|
2024-03-06 07:37:52 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "tty-clock with weather effect";
|
|
|
|
homepage = "https://github.com/ckaznable/tenki";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ iynaix ];
|
|
|
|
mainProgram = "tenki";
|
|
|
|
};
|
|
|
|
}
|