nixpkgs/pkgs/by-name/te/tenki/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
593 B
Nix
Raw Normal View History

2024-03-06 06:37:52 +00:00
{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "tenki";
version = "1.10.0";
2024-03-06 06:37:52 +00:00
src = fetchFromGitHub {
owner = "ckaznable";
repo = "tenki";
rev = "v${version}";
hash = "sha256-+04rQt+hQQan85k1AxnVaQN2xfWWrJII+GdLMSn+cck=";
2024-03-06 06:37:52 +00:00
};
cargoHash = "sha256-/ygw6bCJEeTmrG8XXMhoMl25NHK4E6mmML/V+E8e6UE=";
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";
};
}