Loading pkgs/by-name/aw/awscli/package.nix +10 −10 Original line number Diff line number Diff line Loading @@ -7,10 +7,11 @@ nix-update-script, testers, awscli, versionCheckHook, }: let self = python3Packages.buildPythonApplication rec { self = python3Packages.buildPythonApplication (finalAttrs: { pname = "awscli"; # N.B: if you change this, change botocore and boto3 to a matching version too # check e.g. https://github.com/aws/aws-cli/blob/1.33.21/setup.py Loading @@ -20,7 +21,7 @@ let src = fetchFromGitHub { owner = "aws"; repo = "aws-cli"; tag = version; tag = finalAttrs.version; hash = "sha256-yQFK1YjehmACZGMXfMQLc5OiiIGDO08OtwFSpaRyi58="; }; Loading Loading @@ -62,32 +63,31 @@ let runHook preInstallCheck $out/bin/aws --version | grep "${python3Packages.botocore.version}" $out/bin/aws --version | grep "${version}" $out/bin/aws --version | grep "${finalAttrs.version}" runHook postInstallCheck ''; nativeInstallCheckInputs = [ versionCheckHook ]; passthru = { python = python3Packages.python; # for aws_shell updateScript = nix-update-script { extraArgs = [ "--version=skip" ]; }; tests.version = testers.testVersion { package = awscli; command = "aws --version"; inherit version; }; }; meta = { homepage = "https://aws.amazon.com/cli/"; changelog = "https://github.com/aws/aws-cli/blob/${version}/CHANGELOG.rst"; changelog = "https://github.com/aws/aws-cli/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; description = "Unified tool to manage your AWS services"; license = lib.licenses.asl20; mainProgram = "aws"; maintainers = with lib.maintainers; [ anthonyroussel ]; }; }; }); in assert self ? pythonRelaxDeps -> !(lib.elem "botocore" self.pythonRelaxDeps); self Loading
pkgs/by-name/aw/awscli/package.nix +10 −10 Original line number Diff line number Diff line Loading @@ -7,10 +7,11 @@ nix-update-script, testers, awscli, versionCheckHook, }: let self = python3Packages.buildPythonApplication rec { self = python3Packages.buildPythonApplication (finalAttrs: { pname = "awscli"; # N.B: if you change this, change botocore and boto3 to a matching version too # check e.g. https://github.com/aws/aws-cli/blob/1.33.21/setup.py Loading @@ -20,7 +21,7 @@ let src = fetchFromGitHub { owner = "aws"; repo = "aws-cli"; tag = version; tag = finalAttrs.version; hash = "sha256-yQFK1YjehmACZGMXfMQLc5OiiIGDO08OtwFSpaRyi58="; }; Loading Loading @@ -62,32 +63,31 @@ let runHook preInstallCheck $out/bin/aws --version | grep "${python3Packages.botocore.version}" $out/bin/aws --version | grep "${version}" $out/bin/aws --version | grep "${finalAttrs.version}" runHook postInstallCheck ''; nativeInstallCheckInputs = [ versionCheckHook ]; passthru = { python = python3Packages.python; # for aws_shell updateScript = nix-update-script { extraArgs = [ "--version=skip" ]; }; tests.version = testers.testVersion { package = awscli; command = "aws --version"; inherit version; }; }; meta = { homepage = "https://aws.amazon.com/cli/"; changelog = "https://github.com/aws/aws-cli/blob/${version}/CHANGELOG.rst"; changelog = "https://github.com/aws/aws-cli/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; description = "Unified tool to manage your AWS services"; license = lib.licenses.asl20; mainProgram = "aws"; maintainers = with lib.maintainers; [ anthonyroussel ]; }; }; }); in assert self ? pythonRelaxDeps -> !(lib.elem "botocore" self.pythonRelaxDeps); self