mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
wttrbar: init at 0.3.2
This commit is contained in:
parent
7bc72fa471
commit
6c05a4c70c
29
pkgs/applications/misc/wttrbar/default.nix
Normal file
29
pkgs/applications/misc/wttrbar/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -41626,4 +41626,7 @@ with pkgs;
|
||||
waylyrics = callPackage ../applications/audio/waylyrics { };
|
||||
|
||||
gitrs = callPackage ../tools/misc/gitrs { };
|
||||
|
||||
wttrbar = callPackage ../applications/misc/wttrbar { };
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user