skhd: add passthru.updateScript
This commit is contained in:
parent
3582fa96ee
commit
8c77632c33
1 changed files with 8 additions and 3 deletions
|
@ -4,6 +4,7 @@
|
|||
, Carbon
|
||||
, Cocoa
|
||||
, testers
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -34,11 +35,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
substituteInPlace $out/Library/LaunchDaemons/org.nixos.skhd.plist --subst-var out
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "skhd-v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Simple hotkey daemon for macOS";
|
||||
homepage = "https://github.com/koekeishiya/skhd";
|
||||
|
|
Loading…
Reference in a new issue