Merge pull request #266760 from khaneliman/sketchybar

sketchybar: 2.18.0 -> 2.19.1
This commit is contained in:
OTABI Tomoya 2023-11-11 13:49:10 +09:00 committed by GitHub
commit 98906c02d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,13 +22,13 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "sketchybar"; pname = "sketchybar";
version = "2.18.0"; version = "2.19.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FelixKratz"; owner = "FelixKratz";
repo = "SketchyBar"; repo = "SketchyBar";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-GeFB+eE/NW9ZopwVSmSfMK3WiJLCJNXOdmQpYc3m8WE="; hash = "sha256-Ge15Df65fvNJ8ZdJ8giqvYytIivup2IIFPS+Ie3Yl9A=";
}; };
buildInputs = [ buildInputs = [
@ -43,6 +43,12 @@ stdenv.mkDerivation (finalAttrs: {
SkyLight SkyLight
]; ];
# NOTE: Release didn't bump patch version remove with next release
postPatch = ''
substituteInPlace src/sketchybar.c \
--replace "#define PATCH 0" "#define PATCH 1"
'';
makeFlags = [ makeFlags = [
target target
]; ];