Skip to content

Commit 7248247

Browse files
committed
chatgpt: 1.2025.014 -> 1.2025.057
1 parent 2d74a2e commit 7248247

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +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-
NIXPKGS_CHATGPT_PATH="$(cd $(dirname ${BASH_SOURCE[0]}) && pwd)"
14-
SOURCE_NIX="${NIXPKGS_CHATGPT_PATH}"/source.nix
13+
SOURCE_NIX="$(dirname ${BASH_SOURCE[0]})/source.nix"
1514

1615
cat > "${SOURCE_NIX}" << _EOF_
1716
{
1817
version = "$LATEST_VERSION";
1918
src = {
2019
url = "$DOWNLOAD_URL";
21-
sha256 = "$HASH";
20+
hash = "$HASH";
2221
};
2322
}
2423
_EOF_

0 commit comments

Comments
 (0)