From 7fd7be964e35a543ed2d1148f3db68c9a33f8a7e Mon Sep 17 00:00:00 2001 From: "Renna Z." Date: Thu, 5 Mar 2026 03:00:40 +0800 Subject: [PATCH] launchnext: init at 2.3.0 --- pkgs/by-name/la/launchnext/package.nix | 42 ++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/by-name/la/launchnext/package.nix diff --git a/pkgs/by-name/la/launchnext/package.nix b/pkgs/by-name/la/launchnext/package.nix new file mode 100644 index 000000000000..828825b14e77 --- /dev/null +++ b/pkgs/by-name/la/launchnext/package.nix @@ -0,0 +1,42 @@ +{ + lib, + stdenvNoCC, + fetchzip, + nix-update-script, +}: +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "launchnext"; + version = "2.3.0"; + + src = fetchzip { + url = "https://github.com/RoversX/LaunchNext/releases/download/${finalAttrs.version}/LaunchNext${finalAttrs.version}.zip"; + hash = "sha256-gdfSkBWLXd1N17ruVlRs77q3VMX2nfmAYitPOVnDe3k="; + stripRoot = false; + }; + + dontConfigure = true; + dontBuild = true; + doInstallCheck = true; + + installPhase = '' + runHook preInstall + + mkdir -p $out/Applications + cp -R LaunchNext.app $out/Applications/ + + runHook postInstall + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Bring Launchpad back in MacOS26+, highly customizable, powerful, free"; + homepage = "https://closex.org/launchnext/"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ + Renna42 + ]; + platforms = lib.platforms.darwin; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + }; +})