Unverified Commit fca3d43b authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

chatgpt: 1.2025.014 -> 1.2025.057 (#387273)

parents cb2c327e 72482476
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
{
  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
Original line number Diff line number Diff line
@@ -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_