2024-03-06 06:37:52 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tenki";
|
2024-04-24 17:35:54 +00:00
|
|
|
version = "1.8.0";
|
2024-03-06 06:37:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ckaznable";
|
|
|
|
repo = "tenki";
|
|
|
|
rev = "v${version}";
|
2024-04-24 17:35:54 +00:00
|
|
|
hash = "sha256-FItq/rnxJsEnKFPUR59Wo3eQvaykaIyCohCcOlPrdAE=";
|
2024-03-06 06:37:52 +00:00
|
|
|
};
|
|
|
|
|
2024-04-24 17:35:54 +00:00
|
|
|
cargoHash = "sha256-PhilKt7gLWoOOpkpSPa1/E33rmHvX466hSCGoNfezq0=";
|
2024-03-06 06:37:52 +00: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";
|
|
|
|
};
|
|
|
|
}
|