Merge pull request #173282 from azuwis/sketchybar

sketchybar: 2.5.0 -> 2.5.2
This commit is contained in:
Sandro 2022-05-21 20:46:37 +02:00 committed by GitHub
commit bf3b55c038
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,20 +3,20 @@
let let
inherit (stdenv.hostPlatform) system; inherit (stdenv.hostPlatform) system;
target = { target = {
"aarch64-darwin" = "arm"; "aarch64-darwin" = "arm64";
"x86_64-darwin" = "x86"; "x86_64-darwin" = "x86";
}.${system} or (throw "Unsupported system: ${system}"); }.${system} or (throw "Unsupported system: ${system}");
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sketchybar"; pname = "sketchybar";
version = "2.5.0"; version = "2.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FelixKratz"; owner = "FelixKratz";
repo = "SketchyBar"; repo = "SketchyBar";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ucTyJhRhSVyE4E/x6PtFz7nHRUg6cKKVOrRpPs39iO8="; sha256 = "sha256-xkgNPVrGxmi8377+G1HQ8SdwS0fOnGhwYy43yLRyvF0=";
}; };
buildInputs = [ Carbon Cocoa SkyLight ] buildInputs = [ Carbon Cocoa SkyLight ]
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp ./bin/sketchybar_${target} $out/bin/sketchybar cp ./bin/sketchybar $out/bin/sketchybar
''; '';
meta = with lib; { meta = with lib; {