sketchybar: 2.18.0 -> 2.19.1

This commit is contained in:
Austin Horstman 2023-11-10 19:50:13 -06:00
parent d01cf5e7c8
commit 8b3fc63382
No known key found for this signature in database

View File

@ -22,13 +22,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "sketchybar";
version = "2.18.0";
version = "2.19.1";
src = fetchFromGitHub {
owner = "FelixKratz";
repo = "SketchyBar";
rev = "v${finalAttrs.version}";
hash = "sha256-GeFB+eE/NW9ZopwVSmSfMK3WiJLCJNXOdmQpYc3m8WE=";
hash = "sha256-Ge15Df65fvNJ8ZdJ8giqvYytIivup2IIFPS+Ie3Yl9A=";
};
buildInputs = [
@ -43,6 +43,12 @@ stdenv.mkDerivation (finalAttrs: {
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 = [
target
];