nixpkgs/pkgs/by-name/te/tenki/package.nix
2024-04-24 23:54:14 +02:00

25 lines
592 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "tenki";
version = "1.8.0";
src = fetchFromGitHub {
owner = "ckaznable";
repo = "tenki";
rev = "v${version}";
hash = "sha256-FItq/rnxJsEnKFPUR59Wo3eQvaykaIyCohCcOlPrdAE=";
};
cargoHash = "sha256-PhilKt7gLWoOOpkpSPa1/E33rmHvX466hSCGoNfezq0=";
meta = with lib; {
description = "tty-clock with weather effect";
homepage = "https://github.com/ckaznable/tenki";
license = licenses.mit;
maintainers = with maintainers; [ iynaix ];
mainProgram = "tenki";
};
}