awscli and aws_shell: use the same python version with deps

We need this python version with its custom dependencies for aws_shell.
This commit is contained in:
Frederik Rietdijk 2019-10-17 10:47:06 +02:00
parent dcdcb66b2f
commit 365098e092
3 changed files with 7 additions and 8 deletions

View file

@ -1,13 +1,9 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, awscli
, prompt_toolkit
, boto3
, configobj
, pygments
}:
with awscli.python.pkgs;
buildPythonPackage rec {
pname = "aws-shell";
version = "0.2.0";
@ -24,6 +20,7 @@ buildPythonPackage rec {
boto3
configobj
pygments
pyyaml
];
#Checks are failing due to missing TTY, which won't exist.

View file

@ -38,7 +38,7 @@ in py.pkgs.buildPythonApplication rec {
# No tests included
doCheck = false;
pythonPath = with py.pkgs; [
propagatedBuildInputs = with py.pkgs; [
botocore
bcdoc
s3transfer
@ -63,6 +63,8 @@ in py.pkgs.buildPythonApplication rec {
rm $out/bin/aws.cmd
'';
passthru.python = py; # for aws_shell
meta = with lib; {
homepage = https://aws.amazon.com/cli/;
description = "Unified tool to manage your AWS services";

View file

@ -692,7 +692,7 @@ in
aws-rotate-key = callPackage ../tools/admin/aws-rotate-key { };
aws_shell = pythonPackages.callPackage ../tools/admin/aws_shell { };
aws_shell = callPackage ../tools/admin/aws_shell { };
aws-sam-cli = callPackage ../development/tools/aws-sam-cli { };