diff options
Diffstat (limited to 'pkgs/os-specific/darwin/raycast/default.nix')
-rw-r--r-- | pkgs/os-specific/darwin/raycast/default.nix | 45 |
1 files changed, 28 insertions, 17 deletions
diff --git a/pkgs/os-specific/darwin/raycast/default.nix b/pkgs/os-specific/darwin/raycast/default.nix index b6626c4d4eade..5df4990b59f2c 100644 --- a/pkgs/os-specific/darwin/raycast/default.nix +++ b/pkgs/os-specific/darwin/raycast/default.nix @@ -1,21 +1,22 @@ -{ lib -, stdenvNoCC -, fetchurl -, writeShellApplication -, curl -, jq -, common-updater-scripts -, undmg +{ + lib, + stdenvNoCC, + fetchurl, + writeShellApplication, + curl, + jq, + common-updater-scripts, + undmg, }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "raycast"; - version = "1.72.0"; + version = "1.76.0"; src = fetchurl { name = "Raycast.dmg"; url = "https://releases.raycast.com/releases/${finalAttrs.version}/download?build=universal"; - hash = "sha256-L6CXWRmBfit+uWODEWt7u71shFAadPOqtNifMnSp0BU="; + hash = "sha256-9qvXUmCATwugK8lB1LeSnjfr5MNCjF9QTKR29LmbKes="; }; dontPatch = true; @@ -38,21 +39,31 @@ stdenvNoCC.mkDerivation (finalAttrs: { passthru.updateScript = lib.getExe (writeShellApplication { name = "raycast-update-script"; - runtimeInputs = [ curl jq common-updater-scripts ]; + runtimeInputs = [ + curl + jq + common-updater-scripts + ]; text = '' - set -eo pipefail url=$(curl --silent "https://releases.raycast.com/releases/latest?build=universal") version=$(echo "$url" | jq -r '.version') update-source-version raycast "$version" --file=./pkgs/os-specific/darwin/raycast/default.nix ''; }); - meta = with lib; { + meta = { description = "Control your tools with a few keystrokes"; homepage = "https://raycast.app/"; - license = with licenses; [ unfree ]; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - maintainers = with maintainers; [ lovesegfault stepbrobd donteatoreo ]; - platforms = [ "aarch64-darwin" "x86_64-darwin" ]; + license = lib.licenses.unfree; + maintainers = with lib.maintainers; [ + lovesegfault + stepbrobd + donteatoreo + ]; + platforms = [ + "aarch64-darwin" + "x86_64-darwin" + ]; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; }) |