Skip to content

Commit

Permalink
code-cursor: 0.40.0 -> 0.41.1 (NixOS#343360)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa committed Sep 21, 2024
2 parents bde47c6 + 1bbe1fe commit b463ad5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/by-name/co/code-cursor/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
}:
let
pname = "cursor";
version = "0.40.4";
version = "0.41.1";
appKey = "230313mzl4w4u92";
src = fetchurl {
url = "https://download.todesktop.com/${appKey}/cursor-0.40.4-build-2409052yfcjagw2-x86_64.AppImage";
hash = "sha256-ZURE8UoLPw+Qo1e4xuwXgc+JSwGrgb/6nfIGXMacmSg=";
url = "https://download.todesktop.com/${appKey}/cursor-0.41.1-build-2409189xe3envg5-x86_64.AppImage";
hash = "sha256-9zqktOR5UOMLkKLD1uJ8eNSujWnnyKAN9H8ejrgcfVU=";
};
appimageContents = appimageTools.extractType2 { inherit version pname src; };
in
Expand Down Expand Up @@ -59,7 +59,7 @@ stdenvNoCC.mkDerivation {
latestLinux="$(curl -s https://download.todesktop.com/${appKey}/latest-linux.yml)"
version="$(echo "$latestLinux" | yq -r .version)"
filename="$(echo "$latestLinux" | yq -r '.files[] | .url | select(. | endswith(".AppImage"))')"
update-source-version cursor "$version" "" "https://download.todesktop.com/${appKey}/$filename" --source-key=src.src
update-source-version code-cursor "$version" "" "https://download.todesktop.com/${appKey}/$filename" --source-key=src.src
'';
});
};
Expand Down

0 comments on commit b463ad5

Please sign in to comment.