1{ stdenv 2, lib 3, buildPythonPackage 4, fetchFromGitHub 5, mock 6, parameterized 7, pyelftools 8, pytestCheckHook 9, pythonOlder 10, six 11}: 12 13buildPythonPackage rec { 14 pname = "aws-lambda-builders"; 15 version = "1.23.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "awslabs"; 22 repo = "aws-lambda-builders"; 23 rev = "refs/tags/v${version}"; 24 hash = "sha256-3jzUowSeO6j7DzIlOkeU3KUFFIUi7cEyvjbIL8uRGcU="; 25 }; 26 27 propagatedBuildInputs = [ 28 six 29 ]; 30 31 checkInputs = [ 32 mock 33 parameterized 34 pyelftools 35 pytestCheckHook 36 ]; 37 38 disabledTests = [ 39 # CLI don't work in the sandbox 40 "test_run_hello_workflow" 41 # Don't tests integrations 42 "TestCustomMakeWorkflow" 43 "TestDotnet31" 44 "TestDotnet6" 45 "TestGoWorkflow" 46 "TestJavaGradle" 47 "TestJavaMaven" 48 "TestNodejsNpmWorkflow" 49 "TestNodejsNpmWorkflowWithEsbuild" 50 "TestPipRunner" 51 "TestPythonPipWorkflow" 52 "TestRubyWorkflow" 53 # Tests which are passing locally but not on Hydra 54 "test_copy_dependencies_action_1_multiple_files" 55 "test_move_dependencies_action_1_multiple_files" 56 ]; 57 58 pythonImportsCheck = [ 59 "aws_lambda_builders" 60 ]; 61 62 meta = with lib; { 63 broken = (stdenv.isLinux && stdenv.isAarch64); 64 description = "Tool to compile, build and package AWS Lambda functions"; 65 homepage = "https://github.com/awslabs/aws-lambda-builders"; 66 longDescription = '' 67 Lambda Builders is a Python library to compile, build and package 68 AWS Lambda functions for several runtimes & frameworks. 69 ''; 70 license = licenses.asl20; 71 maintainers = with maintainers; [ dhkl ]; 72 }; 73}