diff options
author | StepBroBD <Hi@StepBroBD.com> | 2023-06-30 11:14:08 -0600 |
---|---|---|
committer | StepBroBD <Hi@StepBroBD.com> | 2023-06-30 11:14:08 -0600 |
commit | febd3fa64f07d2ebf39a7f623684760355017273 (patch) | |
tree | fb4713bc30aa670274629a2af9b4c6491832290a /pkgs/os-specific/darwin | |
parent | 2b73d5c230df157acc8498e033a55978586af052 (diff) |
raycast: 1.53.4 -> 1.54.1
Diffstat (limited to 'pkgs/os-specific/darwin')
-rw-r--r-- | pkgs/os-specific/darwin/raycast/default.nix | 14 | ||||
-rwxr-xr-x | pkgs/os-specific/darwin/raycast/update.sh | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/os-specific/darwin/raycast/default.nix b/pkgs/os-specific/darwin/raycast/default.nix index d37cdff0ca868..df6c5c36d7a3e 100644 --- a/pkgs/os-specific/darwin/raycast/default.nix +++ b/pkgs/os-specific/darwin/raycast/default.nix @@ -4,14 +4,14 @@ , undmg }: -stdenvNoCC.mkDerivation rec { +stdenvNoCC.mkDerivation (finalAttrs: { pname = "raycast"; - version = "1.53.4"; + version = "1.54.1"; src = fetchurl { name = "Raycast.dmg"; - url = "https://releases.raycast.com/releases/${version}/download?build=universal"; - sha256 = "sha256-bkNlGHCpYnHlKdzDyKGPF5jnoq2cSe1sdg9W2DwVrWc="; + url = "https://releases.raycast.com/releases/${finalAttrs.version}/download?build=universal"; + hash = "sha256-lnP0wSTC7oCji24RSk1fY+QSwoYioMPtvOb4Ey1MzVY="; }; dontPatch = true; @@ -35,9 +35,9 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "Control your tools with a few keystrokes"; homepage = "https://raycast.app/"; - license = licenses.unfree; + license = with licenses; [ unfree ]; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; maintainers = with maintainers; [ lovesegfault stepbrobd ]; - platforms = platforms.darwin; + platforms = [ "aarch64-darwin" "x86_64-darwin" ]; }; -} +}) diff --git a/pkgs/os-specific/darwin/raycast/update.sh b/pkgs/os-specific/darwin/raycast/update.sh index f338f5f278fca..6c81c02b8f97a 100755 --- a/pkgs/os-specific/darwin/raycast/update.sh +++ b/pkgs/os-specific/darwin/raycast/update.sh @@ -3,7 +3,7 @@ set -eo pipefail -new_version=$(curl --silent https://releases.raycast.com/releases/latest | jq -r '.version') +new_version=$(curl --silent https://releases.raycast.com/releases/latest?build=universal | jq -r '.version') old_version=$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix) if [[ $new_version == $old_version ]]; then @@ -16,5 +16,5 @@ else fi hash=$(nix --extra-experimental-features nix-command store prefetch-file --json --hash-type sha256 "https://releases.raycast.com/releases/$new_version/download?build=universal" | jq -r '.hash') -sed -Ei.bak '/ *sha256 = /{N;N; s@("sha256-)[^;"]+@"'"$hash"'@}' ./default.nix +sed -Ei.bak '/ *hash = /{N;N; s@("sha256-)[^;"]+@"'"$hash"'@}' ./default.nix rm ./default.nix.bak |