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:
parent
dcdcb66b2f
commit
365098e092
|
@ -1,13 +1,9 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, awscli
|
, awscli
|
||||||
, prompt_toolkit
|
|
||||||
, boto3
|
|
||||||
, configobj
|
|
||||||
, pygments
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
with awscli.python.pkgs;
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aws-shell";
|
pname = "aws-shell";
|
||||||
version = "0.2.0";
|
version = "0.2.0";
|
||||||
|
@ -24,6 +20,7 @@ buildPythonPackage rec {
|
||||||
boto3
|
boto3
|
||||||
configobj
|
configobj
|
||||||
pygments
|
pygments
|
||||||
|
pyyaml
|
||||||
];
|
];
|
||||||
|
|
||||||
#Checks are failing due to missing TTY, which won't exist.
|
#Checks are failing due to missing TTY, which won't exist.
|
||||||
|
|
|
@ -38,7 +38,7 @@ in py.pkgs.buildPythonApplication rec {
|
||||||
# No tests included
|
# No tests included
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonPath = with py.pkgs; [
|
propagatedBuildInputs = with py.pkgs; [
|
||||||
botocore
|
botocore
|
||||||
bcdoc
|
bcdoc
|
||||||
s3transfer
|
s3transfer
|
||||||
|
@ -63,6 +63,8 @@ in py.pkgs.buildPythonApplication rec {
|
||||||
rm $out/bin/aws.cmd
|
rm $out/bin/aws.cmd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.python = py; # for aws_shell
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://aws.amazon.com/cli/;
|
homepage = https://aws.amazon.com/cli/;
|
||||||
description = "Unified tool to manage your AWS services";
|
description = "Unified tool to manage your AWS services";
|
||||||
|
|
|
@ -692,7 +692,7 @@ in
|
||||||
|
|
||||||
aws-rotate-key = callPackage ../tools/admin/aws-rotate-key { };
|
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 { };
|
aws-sam-cli = callPackage ../development/tools/aws-sam-cli { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue