mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
sketchybar: 2.5.0 -> 2.5.2
This commit is contained in:
parent
560ca02280
commit
45a97a571b
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user