jankyborders: add passthru.updateScript

This commit is contained in:
Austin Horstman 2024-03-26 21:24:17 -05:00
parent 803d061696
commit 57784e8bd6
No known key found for this signature in database

View File

@ -5,6 +5,7 @@
, overrideSDK
, darwin
, testers
, nix-update-script
}:
let
stdenv = overrideSDK pkgs.stdenv "11.0";
@ -41,11 +42,15 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.tests.version = testers.testVersion {
passthru = {
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
version = "borders-v${finalAttrs.version}";
};
updateScript = nix-update-script { };
};
meta = {
description = "JankyBorders is a lightweight tool designed to add colored borders to user windows on macOS 14.0+";
longDescription = "It enhances the user experience by visually highlighting the currently focused window without relying on the accessibility API, thereby being faster than comparable tools.";