nixpkgs/pkgs/tools/admin/aws_shell/default.nix
Frederik Rietdijk 365098e092 awscli and aws_shell: use the same python version with deps
We need this python version with its custom dependencies for aws_shell.
2019-10-18 09:54:04 +02:00

40 lines
800 B
Nix

{ stdenv
, awscli
}:
with awscli.python.pkgs;
buildPythonPackage rec {
pname = "aws-shell";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "b46a673b81254e5e014297e08c9ecab535773aa651ca33dc3786a1fd612f9810";
};
# Why does it propagate packages that are used for testing?
propagatedBuildInputs = [
awscli
prompt_toolkit
boto3
configobj
pygments
pyyaml
];
#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 = [ ];
};
}