summary refs log tree commit diff
path: root/pkgs/tools/admin/aws_shell/default.nix
blob: 2fc961279661e994dc3dd06e3cf4dcbd7dee79c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ stdenv
, buildPythonPackage
, fetchPypi
, awscli
, prompt_toolkit_1
, boto3
, configobj
, pygments
}:

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_1
    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 = [ ];
  };
}