chatgpt: 1.2025.014 -> 1.2025.057 (#387273)

This commit is contained in:
Gaétan Lepage
2025-03-06 09:57:33 +01:00
committed by GitHub
2 changed files with 8 additions and 6 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
{
version = "1.2025.014";
version = "1.2025.057";
src = {
url = "https://persistent.oaistatic.com/sidekick/public/ChatGPT_Desktop_public_1.2025.014_1737150122.dmg";
hash = "sha256-NxCkrsPaptYNTZ+urkJqYeC4a0nGaEOFO/7SQL1Jmpc=";
url = "https://persistent.oaistatic.com/sidekick/public/ChatGPT_Desktop_public_1.2025.057_1741115522.dmg";
hash = "sha256-aVPBYPr1tMRBEvKgooVIzgiqClCIN8tWERjIcgP0UUk=";
};
}
+5 -3
View File
@@ -10,12 +10,14 @@ DOWNLOAD_URL=$(echo "$XML_DATA" | xmllint --xpath 'string(//item[1]/enclosure/@u
HASH=$(nix-prefetch-url $DOWNLOAD_URL | xargs nix hash convert --hash-algo sha256)
cat > source.nix << _EOF_
SOURCE_NIX="$(dirname ${BASH_SOURCE[0]})/source.nix"
cat > "${SOURCE_NIX}" << _EOF_
{
version = "$LATEST_VERSION";
src = fetchurl {
src = {
url = "$DOWNLOAD_URL";
sha256 = "$HASH";
hash = "$HASH";
};
}
_EOF_