Skip to content

Commit

Permalink
awscli: Get rid of runtime -dev dependencies
Browse files Browse the repository at this point in the history
(cherry picked from commit c8bc18b)
  • Loading branch information
edolstra committed Oct 8, 2019
1 parent f0cd4e4 commit 1475797
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/python-modules/botocore/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ buildPythonPackage rec {
sha256 = "19ls7hdmcaqrrq8przqy05s8chsy8315ic2zg185k6m64pvr0qhd";
};

outputs = [ "out" "dev" ];

propagatedBuildInputs = [
dateutil
jmespath
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/s3transfer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildPythonPackage rec {
sha256 = "f23d5cb7d862b104401d9021fc82e5fa0e0cf57b7660a1331425aab0c691d021";
};

foo = 1;
outputs = [ "out" "dev" ];

propagatedBuildInputs =
[ botocore
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/python-modules/urllib3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ buildPythonPackage rec {
sha256 = "2393a695cd12afedd0dcb26fe5d50d0cf248e5a66f75dbd89a3d4eb333a61af4";
};

outputs = [ "out" "dev" ];

NOSE_EXCLUDE = stdenv.lib.concatStringsSep "," [
"test_headers" "test_headerdict" "test_can_validate_ip_san" "test_delayed_body_read_timeout"
"test_timeout_errors_cause_retries" "test_select_multiple_interrupts_with_event"
Expand Down
6 changes: 5 additions & 1 deletion pkgs/tools/admin/awscli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ in py.pkgs.buildPythonApplication rec {
# No tests included
doCheck = false;

propagatedBuildInputs = with py.pkgs; [
pythonPath = with py.pkgs; [
botocore
bcdoc
s3transfer
Expand All @@ -49,6 +49,10 @@ in py.pkgs.buildPythonApplication rec {
pyyaml
groff
less
urllib3
dateutil
jmespath
futures
];

postInstall = ''
Expand Down

0 comments on commit 1475797

Please sign in to comment.