1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/tools/admin/aws_shell/default.nix
2019-10-27 16:26:57 +01:00

40 lines
800 B
Nix

{ stdenv
, awscli
}:
with awscli.python.pkgs;
buildPythonPackage rec {
pname = "aws-shell";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "2044b0ef78c7542c392f2cee4b74a4439545c63dda0a3e28b712fff53e8e5823";
};
# 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 = [ ];
};
}