1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

Merge pull request #12824 from cransom/aws_shell

aws_shell: init at 0.1.0
This commit is contained in:
zimbatm 2016-02-26 00:00:10 +00:00
commit 06a12136a5
2 changed files with 44 additions and 0 deletions

View file

@ -593,6 +593,8 @@ let
awscli = pythonPackages.awscli;
aws_shell = pythonPackages.aws_shell;
azure-cli = callPackage ../tools/virtualization/azure-cli { };
ec2_api_tools = callPackage ../tools/virtualization/ec2-api-tools { };

View file

@ -1189,6 +1189,36 @@ in modules // {
};
};
aws_shell = buildPythonPackage rec {
name = "aws-shell-${version}";
version = "0.1.0";
src = pkgs.fetchurl {
sha256 = "05isyrqbk16dg1bc3mnc4ynxr3nchslvia5wr1sdmxvc3v2y729d";
url = "https://pypi.python.org/packages/source/a/aws-shell/aws-shell-0.1.0.tar.gz";
};
propagatedBuildInputs = with self; [
configobj prompt_toolkit_52 awscli boto3 pygments sqlite3 mock pytest
pytestcov unittest2 tox
];
#Checks are failing due to missing TTY, which won't exist.
doCheck = false;
preCheck = ''
mkdir -p check-phase
export HOME=$(pwd)/check-phase
'';
disabled = isPy35;
meta = {
homepage = https://github.com/awslabs/aws-shell;
description = "An integrated shell for working with the AWS CLI.";
license = licenses.asl20;
maintainers = [ ];
};
};
azure = buildPythonPackage rec {
version = "0.11.0";
name = "azure-${version}";
@ -15553,6 +15583,18 @@ in modules // {
maintainers = with maintainers; [ nckx ];
};
};
prompt_toolkit_52 = self.prompt_toolkit.override(self: rec {
name = "prompt_toolkit-${version}";
version = "0.52";
src = pkgs.fetchurl {
sha256 = "00h9ldqmb33nhg2kpks7paldf3n3023ipp124alwp96yz16s7f1m";
url = "https://pypi.python.org/packages/source/p/prompt_toolkit/${name}.tar.gz";
};
#Only <3.4 expressly supported.
disabled = isPy35;
});
protobuf = self.protobuf2_6;
protobuf2_6 = self.protobufBuild pkgs.protobuf2_6;