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
592 B
Nix
Raw Normal View History

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";
};
}