2023-01-01T03:34:22 awscli2 0 -> 1 2023-01-01T03:34:25 attrpath: awscli2 2023-01-01T03:34:25 Checking auto update branch... 2023-01-01T03:34:28 [version] 2023-01-01T03:34:28 [version] generic version rewriter does not support multiple hashes 2023-01-01T03:34:28 [rustCrateVersion] 2023-01-01T03:34:28 [rustCrateVersion] No cargoSha256 found 2023-01-01T03:34:28 [golangModuleVersion] 2023-01-01T03:34:28 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2023-01-01T03:34:28 [updateScript] 2023-01-01T03:34:38 [updateScript] Success 2023-01-01T03:34:38 [updateScript] this derivation will be built: /nix/store/z951l45xrfqajmbp49q0hvjw8nm9mcj3-packages.json.drv these 3 paths will be fetched (0.94 MiB download, 3.87 MiB unpacked): /nix/store/9ahwhc4bv9lbadi2j3p0yqqyfajpnlpa-nix-update-0.12.0 /nix/store/hc0g6r0yr5vk2qz07ihl9v2x9zd03i63-nixpkgs-fmt-1.3.0 /nix/store/nz1b539zysmn6c1x3v79gymifh43a1wp-nixpkgs-review-2.8.0 copying path '/nix/store/hc0g6r0yr5vk2qz07ihl9v2x9zd03i63-nixpkgs-fmt-1.3.0' from 'https://cache.nixos.org'... copying path '/nix/store/nz1b539zysmn6c1x3v79gymifh43a1wp-nixpkgs-review-2.8.0' from 'https://cache.nixos.org'... copying path '/nix/store/9ahwhc4bv9lbadi2j3p0yqqyfajpnlpa-nix-update-0.12.0' from 'https://cache.nixos.org'... building '/nix/store/z951l45xrfqajmbp49q0hvjw8nm9mcj3-packages.json.drv'... Going to be running update for following packages: - awscli2-2.9.10 Press Enter key to continue... Running update for: - awscli2-2.9.10: UPDATING ... - awscli2-2.9.10: DONE. Packages updated! 2023-01-01T03:34:38 2023-01-01T03:34:38 [quotedUrls] 2023-01-01T03:34:38 [quotedUrls] nothing found to replace 2023-01-01T03:34:38 Diff after rewrites: diff --git a/pkgs/tools/admin/awscli2/default.nix b/pkgs/tools/admin/awscli2/default.nix index 32a3c1d346e..6cd0c915fa9 100644 --- a/pkgs/tools/admin/awscli2/default.nix +++ b/pkgs/tools/admin/awscli2/default.nix @@ -25,14 +25,14 @@ let in with py.pkgs; buildPythonApplication rec { pname = "awscli2"; - version = "2.9.10"; # N.B: if you change this, check if overrides are still up-to-date + version = "2.9.12"; # N.B: if you change this, check if overrides are still up-to-date format = "pyproject"; src = fetchFromGitHub { owner = "aws"; repo = "aws-cli"; rev = version; - hash = "sha256-rRtC1OApm9fEd79I3ZD0kVbvqwsSNog46zHfdqTw5Pk="; + hash = "sha256-JjdHLkncUMPodpmgk+k8JqDuEiyNkLff0rMq9MlvVao="; }; nativeBuildInputs = [ 2023-01-01T03:36:06 Old version 2.9.10" not present in master derivation file with contents: { lib , python3 , groff , less , fetchFromGitHub , nix-update-script , testers , awscli2 }: let py = python3.override { packageOverrides = self: super: { prompt-toolkit = super.prompt-toolkit.overridePythonAttrs (oldAttrs: rec { version = "3.0.28"; src = self.fetchPypi { pname = "prompt_toolkit"; inherit version; hash = "sha256-nxzRax6GwpaPJRnX+zHdnWaZFvUVYSwmnRTp7VK1FlA="; }; }); }; }; in with py.pkgs; buildPythonApplication rec { pname = "awscli2"; version = "2.9.11"; # N.B: if you change this, check if overrides are still up-to-date format = "pyproject"; src = fetchFromGitHub { owner = "aws"; repo = "aws-cli"; rev = version; hash = "sha256-udqc1a8xtIVn+vl4UQ8b5Gtcpdns2r3KEo2e0Nd+dBs="; }; nativeBuildInputs = [ flit-core ]; propagatedBuildInputs = [ awscrt bcdoc colorama cryptography distro docutils groff less prompt-toolkit pyyaml rsa ruamel-yaml python-dateutil jmespath urllib3 ]; checkInputs = [ jsonschema mock pytestCheckHook ]; postPatch = '' sed -i pyproject.toml \ -e 's/colorama.*/colorama",/' \ -e 's/cryptography.*/cryptography",/' \ -e 's/distro.*/distro",/' ''; postInstall = '' mkdir -p $out/${python3.sitePackages}/awscli/data ${python3.interpreter} scripts/gen-ac-index --index-location $out/${python3.sitePackages}/awscli/data/ac.index mkdir -p $out/share/bash-completion/completions echo "complete -C $out/bin/aws_completer aws" > $out/share/bash-completion/completions/aws mkdir -p $out/share/zsh/site-functions mv $out/bin/aws_zsh_completer.sh $out/share/zsh/site-functions rm $out/bin/aws.cmd ''; doCheck = true; preCheck = '' export PATH=$PATH:$out/bin export HOME=$(mktemp -d) ''; pytestFlagsArray = [ "-Wignore::DeprecationWarning" ]; disabledTestPaths = [ # Integration tests require networking "tests/integration" # Disable slow tests (only run unit tests) "tests/backends" "tests/functional" ]; pythonImportsCheck = [ "awscli" ]; passthru = { python = py; # for aws_shell updateScript = nix-update-script { # Excludes 1.x versions from the Github tags list extraArgs = [ "--version-regex" "^(2\.(.*))" ]; }; tests.version = testers.testVersion { package = awscli2; command = "aws --version"; version = version; }; }; meta = with lib; { homepage = "https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html"; changelog = "https://github.com/aws/aws-cli/blob/${version}/CHANGELOG.rst"; description = "Unified tool to manage your AWS services"; license = licenses.asl20; maintainers = with maintainers; [ bhipple davegallant bryanasdev000 devusb anthonyroussel ]; mainProgram = "aws"; }; }