3
0
Fork 0
forked from mirrors/nixpkgs

sketchybar: 2.5.0 -> 2.5.2

This commit is contained in:
Zhong Jianxin 2022-05-17 00:10:54 +08:00
parent 560ca02280
commit 45a97a571b

View file

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