wttrbar: init at 0.3.2

This commit is contained in:
Austin Horstman 2023-07-26 10:18:25 -05:00 committed by Anderson Torres
parent 7bc72fa471
commit 6c05a4c70c
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "wttrbar";
version = "0.3.2";
src = fetchFromGitHub {
owner = "bjesus";
repo = "wttrbar";
rev = version;
hash = "sha256-RQeRDu8x6OQAD7VYT7FwBfj8gxn1nj6hP60oCIiuAgg=";
};
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk_11_0.frameworks.Security ];
cargoHash = "sha256-hJCEA6m/iZuSjWRbbaoJ5ryG0z5U/IWhbEvNAohFyjg=";
meta = {
description = "A simple but detailed weather indicator for Waybar using wttr.in";
homepage = "https://github.com/bjesus/wttrbar";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
}

View File

@ -41626,4 +41626,7 @@ with pkgs;
waylyrics = callPackage ../applications/audio/waylyrics { };
gitrs = callPackage ../tools/misc/gitrs { };
wttrbar = callPackage ../applications/misc/wttrbar { };
}