awscli2: 2.8.12 -> 2.9.0 (#201978)

This commit is contained in:
Anthony Roussel 2022-11-21 23:09:58 +01:00 committed by GitHub
parent af8a02eb99
commit 3761ba2119
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,8 @@
, less
, fetchFromGitHub
, nix-update-script
, testers
, awscli2
}:
let
@ -32,14 +34,14 @@ let
in
with py.pkgs; buildPythonApplication rec {
pname = "awscli2";
version = "2.8.12"; # N.B: if you change this, check if overrides are still up-to-date
version = "2.9.0"; # 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;
sha256 = "sha256-OeOSSB0WgVJEszmkXmMkmJNq37sPID7HFaTbXkBUwlI=";
sha256 = "sha256-kPMoGOn6ws4DjA9fR9gci7vHPIqOSsgMXa1wCiwN8yU=";
};
nativeBuildInputs = [
@ -121,6 +123,11 @@ with py.pkgs; buildPythonApplication rec {
updateScript = nix-update-script {
attrPath = pname;
};
tests.version = testers.testVersion {
package = awscli2;
command = "aws --version";
version = version;
};
};
meta = with lib; {
@ -129,5 +136,6 @@ with py.pkgs; buildPythonApplication rec {
description = "Unified tool to manage your AWS services";
license = licenses.asl20;
maintainers = with maintainers; [ bhipple davegallant bryanasdev000 devusb anthonyroussel ];
mainProgram = "aws";
};
}