Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: antigravity-cli 0 -> 1 attrpath: antigravity-cli Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/bjvkf01hdmxybd5pyq35a5qm0437a41m-packages.json.drv building '/nix/store/bjvkf01hdmxybd5pyq35a5qm0437a41m-packages.json.drv'... Going to be running update for following packages: - antigravity-cli-1.0.7 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - antigravity-cli-1.0.7: UPDATING ... - antigravity-cli-1.0.7: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/an/antigravity-cli/package.nix b/pkgs/by-name/an/antigravity-cli/package.nix index 0b017339516c..9fd8bf3709e2 100644 --- a/pkgs/by-name/an/antigravity-cli/package.nix +++ b/pkgs/by-name/an/antigravity-cli/package.nix @@ -6,7 +6,7 @@ versionCheckHook, }: let - wholeVersion = "1.0.7-5858071034068992"; # unfortunately this has dumb versioning + wholeVersion = "1.0.8-4609399487070208"; # unfortunately this has dumb versioning version = builtins.head (lib.splitString "-" wholeVersion); throwSystem = throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"; @@ -14,19 +14,19 @@ let sourceData = { x86_64-linux = fetchurl { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/linux-x64/cli_linux_x64.tar.gz"; - hash = "sha256-8kaHmc0XPAPuATHb4rrkMhUzBqaLqi7n1UQPFcRB4Go="; + hash = "sha256-ejklv/1d2Ib8PdAlZkTav+mCnOSS/UPO82+WSOJphgg="; }; aarch64-linux = fetchurl { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/linux-arm/cli_linux_arm64.tar.gz"; - hash = "sha256-3ylG6ZW/9AuKydzzyMLtqC1ec2NnixFG/CJih26S0K0="; + hash = "sha256-QnsRCuuhkGE6OcUkkvydXwCwJutQs+wCY543ou+V/cU="; }; aarch64-darwin = fetchurl { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/darwin-arm/cli_mac_arm64.tar.gz"; - hash = "sha256-e4VhL/9rUNgE2XyW8REz8QXEbzwsUFg41xNpUHfNLK0="; + hash = "sha256-cVQ284owxYH2xT0Gllcm36m7rckVwPcxQNOkptVB8ww="; }; x86_64-darwin = fetchurl { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/darwin-x64/cli_mac_x64.tar.gz"; - hash = "sha256-SECE7bAd0VneVeAvBs14Ortkcqg8CJy9xcq3ZnuqfKY="; + hash = "sha256-7VAd5iQoKmhocdbg0L5oXtfcxLtH8eV9JNsJ8CGLSdU="; }; }; in No auto update branch exists Old version 1.0.7" not present in master derivation file with contents: { lib, stdenvNoCC, fetchurl, autoPatchelfHook, versionCheckHook, }: let wholeVersion = "1.0.8-6513509081677824"; # unfortunately this has dumb versioning version = builtins.head (lib.splitString "-" wholeVersion); throwSystem = throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"; sourceData = { x86_64-linux = fetchurl { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/linux-x64/cli_linux_x64.tar.gz"; hash = "sha256-/BxcglSN6NqZdEbq50MypFW4bv2bCN37L0PqcuYz+e4="; }; aarch64-linux = fetchurl { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/linux-arm/cli_linux_arm64.tar.gz"; hash = "sha256-QWQevvVezRdubRbG3V64C/XMHunfDsdA1OM8yhHoCHA="; }; aarch64-darwin = fetchurl { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/darwin-arm/cli_mac_arm64.tar.gz"; hash = "sha256-j+/brIYCKjIOa0KSGZHt4Ic4tjTzOrfPtA4J8iY9tHE="; }; x86_64-darwin = fetchurl { url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/darwin-x64/cli_mac_x64.tar.gz"; hash = "sha256-0Cp76whEYtBdZS6GOnC+qqICGoqexX+v3KCFJmfaFAU="; }; }; in stdenvNoCC.mkDerivation (finalAttrs: { pname = "antigravity-cli"; inherit version; strictDeps = true; __structuredAttrs = true; src = sourceData.${stdenvNoCC.hostPlatform.system} or throwSystem; sourceRoot = "."; nativeBuildInputs = lib.optionals stdenvNoCC.hostPlatform.isElf [ autoPatchelfHook ]; dontConfigure = true; dontBuild = true; installPhase = '' runHook preInstall install -Dm755 antigravity $out/bin/agy runHook postInstall ''; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; passthru = { inherit wholeVersion; # for the updateScript updateScript = ./update.sh; }; meta = { description = "Google's Go-based terminal user interface (TUI) agent client"; homepage = "https://antigravity.google"; changelog = "https://antigravity.google/changelog"; license = lib.licenses.unfree; maintainers = with lib.maintainers; [ adrielvelazquez u3kkasha ]; platforms = lib.attrNames sourceData; mainProgram = "agy"; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; })