Skip to content

Commit fca3d43

Browse files
authored
chatgpt: 1.2025.014 -> 1.2025.057 (#387273)
2 parents cb2c327 + 7248247 commit fca3d43

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

pkgs/by-name/ch/chatgpt/source.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
version = "1.2025.014";
2+
version = "1.2025.057";
33
src = {
4-
url = "https://persistent.oaistatic.com/sidekick/public/ChatGPT_Desktop_public_1.2025.014_1737150122.dmg";
5-
hash = "sha256-NxCkrsPaptYNTZ+urkJqYeC4a0nGaEOFO/7SQL1Jmpc=";
4+
url = "https://persistent.oaistatic.com/sidekick/public/ChatGPT_Desktop_public_1.2025.057_1741115522.dmg";
5+
hash = "sha256-aVPBYPr1tMRBEvKgooVIzgiqClCIN8tWERjIcgP0UUk=";
66
};
77
}

pkgs/by-name/ch/chatgpt/update.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ DOWNLOAD_URL=$(echo "$XML_DATA" | xmllint --xpath 'string(//item[1]/enclosure/@u
1010

1111
HASH=$(nix-prefetch-url $DOWNLOAD_URL | xargs nix hash convert --hash-algo sha256)
1212

13-
cat > source.nix << _EOF_
13+
SOURCE_NIX="$(dirname ${BASH_SOURCE[0]})/source.nix"
14+
15+
cat > "${SOURCE_NIX}" << _EOF_
1416
{
1517
version = "$LATEST_VERSION";
16-
src = fetchurl {
18+
src = {
1719
url = "$DOWNLOAD_URL";
18-
sha256 = "$HASH";
20+
hash = "$HASH";
1921
};
2022
}
2123
_EOF_

0 commit comments

Comments
 (0)