10 overrideFunc: version: hash:
11 overrideFunc (oldAttrs: rec {
13 src = oldAttrs.src.override {
18 localPython = python3.override {
20 packageOverrides = self: super: {
22 changeVersion super.cement.overridePythonAttrs "2.10.14"
23 "sha256-NC4n21SmYW3RiS7QuzWXoifO4z3C2FVgQm3xf8qQcFg=";
29 localPython.pkgs.buildPythonApplication rec {
32 format = "setuptools";
34 src = fetchFromGitHub {
36 repo = "aws-elastic-beanstalk-cli";
37 rev = "refs/tags/${version}";
38 hash = "sha256-VU8bXvS4m4eIamjlgGmHE2qwDXWAXvWTa0QHomXR5ZE=";
42 # https://github.com/aws/aws-elastic-beanstalk-cli/pull/469
43 substituteInPlace setup.py --replace-fail "scripts=['bin/eb']," ""
46 propagatedBuildInputs = with localPython.pkgs; [
71 nativeCheckInputs = with localPython.pkgs; [
83 # Needs docker installed to run.
85 "test_local_run__with_arguments"
87 # Needs access to the user's ~/.ssh directory.
88 "test_generate_and_upload_keypair__exit_code_0"
89 "test_generate_and_upload_keypair__exit_code_1"
90 "test_generate_and_upload_keypair__exit_code_is_other_than_1_and_0"
91 "test_generate_and_upload_keypair__ssh_keygen_not_present"
95 homepage = "https://aws.amazon.com/elasticbeanstalk/";
96 description = "Command line interface for Elastic Beanstalk";
97 changelog = "https://github.com/aws/aws-elastic-beanstalk-cli/blob/${version}/CHANGES.rst";
98 maintainers = with maintainers; [ kirillrdy ];
99 license = licenses.asl20;