diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-07-01 22:56:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-01 22:56:23 +0200 |
commit | 53718fb655b0ddbaa3c2c847b2e788ce790bddb4 (patch) | |
tree | 17ebcb5798f1d5b03af55e9e9180e100d792895c /pkgs/os-specific | |
parent | 63f040980776f170ade70f339850af9b9cd37eda (diff) | |
parent | febd3fa64f07d2ebf39a7f623684760355017273 (diff) |
Merge pull request #240762 from StepBroBD/raycast
raycast: 1.53.4 -> 1.54.1
Diffstat (limited to 'pkgs/os-specific')
-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 |