perlPackages.NetAsyncWebSocket: 0.13 -> 0.14 (#352432)
[NixPkgs.git] / pkgs / development / python-modules / aws-lambda-builders / default.nix
blob3f49679b12ae57d6cb06f016bfa58f8338da8c77
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   mock,
6   parameterized,
7   pip,
8   pyelftools,
9   pytestCheckHook,
10   pythonOlder,
11   setuptools,
12   six,
15 buildPythonPackage rec {
16   pname = "aws-lambda-builders";
17   version = "1.53.0";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "awslabs";
24     repo = "aws-lambda-builders";
25     tag = "v${version}";
26     hash = "sha256-4OiXri1u4co1cuDm7bLyw8XfMg2S3sKrkPWF2tD8zg8=";
27   };
29   postPatch = ''
30     substituteInPlace setup.py \
31       --replace-fail "version=read_version()," 'version="${version}",'
32   '';
34   build-system = [ setuptools ];
36   dependencies = [ six ];
38   nativeCheckInputs = [
39     mock
40     parameterized
41     pip
42     pyelftools
43     pytestCheckHook
44   ];
46   disabledTests = [
47     # CLI don't work in the sandbox
48     "test_run_hello_workflow"
49     # Don't tests integrations
50     "TestCustomMakeWorkflow"
51     "TestDotnet31"
52     "TestDotnet6"
53     "TestGoWorkflow"
54     "TestJavaGradle"
55     "TestJavaMaven"
56     "TestNodejsNpmWorkflow"
57     "TestNodejsNpmWorkflowWithEsbuild"
58     "TestPipRunner"
59     "TestPythonPipWorkflow"
60     "TestRubyWorkflow"
61     "TestRustCargo"
62     "test_with_mocks"
63     # Tests which are passing locally but not on Hydra
64     "test_copy_dependencies_action_1_multiple_files"
65     "test_move_dependencies_action_1_multiple_files"
66   ];
68   disabledTestPaths = [
69     # Dotnet binary needed
70     "tests/integration/workflows/dotnet_clipackage/test_dotnet.py"
71   ];
73   pythonImportsCheck = [ "aws_lambda_builders" ];
75   meta = with lib; {
76     description = "Tool to compile, build and package AWS Lambda functions";
77     mainProgram = "lambda-builders";
78     homepage = "https://github.com/awslabs/aws-lambda-builders";
79     changelog = "https://github.com/aws/aws-lambda-builders/releases/tag/v${version}";
80     longDescription = ''
81       Lambda Builders is a Python library to compile, build and package
82       AWS Lambda functions for several runtimes & frameworks.
83     '';
84     license = licenses.asl20;
85     maintainers = with maintainers; [ dhkl ];
86   };