2017-11-10 17:59:25 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, awscli
|
2018-11-21 12:37:26 +01:00
|
|
|
, prompt_toolkit
|
2017-11-10 17:59:25 +01:00
|
|
|
, boto3
|
|
|
|
, configobj
|
|
|
|
, pygments
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aws-shell";
|
2018-04-04 20:20:39 +02:00
|
|
|
version = "0.2.0";
|
2017-11-10 17:59:25 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:20:39 +02:00
|
|
|
sha256 = "b46a673b81254e5e014297e08c9ecab535773aa651ca33dc3786a1fd612f9810";
|
2017-11-10 17:59:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Why does it propagate packages that are used for testing?
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
awscli
|
2018-11-21 12:37:26 +01:00
|
|
|
prompt_toolkit
|
2017-11-10 17:59:25 +01:00
|
|
|
boto3
|
|
|
|
configobj
|
|
|
|
pygments
|
|
|
|
];
|
|
|
|
|
|
|
|
#Checks are failing due to missing TTY, which won't exist.
|
|
|
|
doCheck = false;
|
|
|
|
preCheck = ''
|
|
|
|
mkdir -p check-phase
|
|
|
|
export HOME=$(pwd)/check-phase
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/awslabs/aws-shell;
|
|
|
|
description = "An integrated shell for working with the AWS CLI";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|