Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 42 lines 832 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, awscli 5, prompt_toolkit 6, boto3 7, configobj 8, pygments 9}: 10 11buildPythonPackage rec { 12 pname = "aws-shell"; 13 version = "0.1.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "1pw9lrdjl24n6lrs6lnqpyiyic8bdxgvhyqvb2rx6kkbjrfhhgv5"; 18 }; 19 20 # Why does it propagate packages that are used for testing? 21 propagatedBuildInputs = [ 22 awscli 23 prompt_toolkit 24 boto3 25 configobj 26 pygments 27 ]; 28 29 #Checks are failing due to missing TTY, which won't exist. 30 doCheck = false; 31 preCheck = '' 32 mkdir -p check-phase 33 export HOME=$(pwd)/check-phase 34 ''; 35 36 meta = with stdenv.lib; { 37 homepage = https://github.com/awslabs/aws-shell; 38 description = "An integrated shell for working with the AWS CLI"; 39 license = licenses.asl20; 40 maintainers = [ ]; 41 }; 42}