biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / text / clima / default.nix
blobf7e6ee15d7f83dcf4e1bc8bf0271ff36b89cc3b9
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , stdenv
5 , darwin
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "clima";
10   version = "1.1.0";
12   src = fetchFromGitHub {
13     owner = "Canop";
14     repo = "clima";
15     rev = "v${version}";
16     hash = "sha256-CRnAxhkuCTyHR4uQofA51Dm3+YKqm3iwBkFNkbLTv1A=";
17   };
19   cargoHash = "sha256-jKY+Ta6lqMBUlqSViKk3W0CiO8oU+ucmleKDYRA54HQ=";
21   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
22     darwin.apple_sdk.frameworks.Security
23   ];
25   meta = with lib; {
26     description = "Minimal viewer for Termimad";
27     homepage = "https://github.com/Canop/clima";
28     changelog = "https://github.com/Canop/clima/releases/tag/${src.rev}";
29     license = licenses.mit;
30     maintainers = with maintainers; [ figsoda ];
31     mainProgram = "clima";
32   };