depot/third_party/nixpkgs/pkgs/by-name/te/tenki/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

25 lines
593 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "tenki";
version = "1.10.0";
src = fetchFromGitHub {
owner = "ckaznable";
repo = "tenki";
rev = "v${version}";
hash = "sha256-+04rQt+hQQan85k1AxnVaQN2xfWWrJII+GdLMSn+cck=";
};
cargoHash = "sha256-/ygw6bCJEeTmrG8XXMhoMl25NHK4E6mmML/V+E8e6UE=";
meta = with lib; {
description = "tty-clock with weather effect";
homepage = "https://github.com/ckaznable/tenki";
license = licenses.mit;
maintainers = with maintainers; [ iynaix ];
mainProgram = "tenki";
};
}