Loading pkgs/development/tools/aws-sam-cli/default.nix +61 −56 Original line number Diff line number Diff line { lib , python3 , fetchFromGitHub , git , testers , aws-sam-cli , nix-update-script , enableTelemetry ? false { lib, python3, fetchFromGitHub, git, testers, aws-sam-cli, nix-update-script, enableTelemetry ? false, }: python3.pkgs.buildPythonApplication rec { Loading @@ -13,8 +14,6 @@ python3.pkgs.buildPythonApplication rec { version = "1.120.0"; pyproject = true; disabled = python3.pythonOlder "3.8"; src = fetchFromGitHub { owner = "aws"; repo = "aws-sam-cli"; Loading @@ -22,9 +21,7 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-XFVh7e9ooIBhWRkVovPdrSuyosBMQ84PDRjV2o0x9ns="; }; build-system = with python3.pkgs; [ setuptools ]; build-system = with python3.pkgs; [ setuptools ]; pythonRelaxDeps = [ "aws-lambda-builders" Loading @@ -43,7 +40,9 @@ python3.pkgs.buildPythonApplication rec { "watchdog" ]; dependencies = with python3.pkgs; [ dependencies = with python3.pkgs; [ aws-lambda-builders aws-sam-translator boto3 Loading @@ -65,7 +64,8 @@ python3.pkgs.buildPythonApplication rec { typing-extensions tzlocal watchdog ] ++ (with python3.pkgs.boto3-stubs.optional-dependencies; [ ] ++ (with python3.pkgs.boto3-stubs.optional-dependencies; [ apigateway cloudformation ecr Loading @@ -92,6 +92,7 @@ python3.pkgs.buildPythonApplication rec { nativeCheckInputs = with python3.pkgs; [ filelock flaky jaraco-text parameterized psutil pytest-timeout Loading Loading @@ -133,9 +134,7 @@ python3.pkgs.buildPythonApplication rec { "test_import_should_succeed_for_a_defined_hidden_package_540_pkg_resources_py2_warn" ]; pythonImportsCheck = [ "samcli" ]; pythonImportsCheck = [ "samcli" ]; passthru = { tests.version = testers.testVersion { Loading @@ -143,7 +142,10 @@ python3.pkgs.buildPythonApplication rec { command = "sam --version"; }; updateScript = nix-update-script { extraArgs = [ "--version-regex" "^v([0-9.]+)$" ]; extraArgs = [ "--version-regex" "^v([0-9.]+)$" ]; }; }; Loading @@ -155,6 +157,9 @@ python3.pkgs.buildPythonApplication rec { changelog = "https://github.com/aws/aws-sam-cli/releases/tag/v${version}"; license = licenses.asl20; mainProgram = "sam"; maintainers = with maintainers; [ lo1tuma anthonyroussel ]; maintainers = with maintainers; [ lo1tuma anthonyroussel ]; }; } Loading
pkgs/development/tools/aws-sam-cli/default.nix +61 −56 Original line number Diff line number Diff line { lib , python3 , fetchFromGitHub , git , testers , aws-sam-cli , nix-update-script , enableTelemetry ? false { lib, python3, fetchFromGitHub, git, testers, aws-sam-cli, nix-update-script, enableTelemetry ? false, }: python3.pkgs.buildPythonApplication rec { Loading @@ -13,8 +14,6 @@ python3.pkgs.buildPythonApplication rec { version = "1.120.0"; pyproject = true; disabled = python3.pythonOlder "3.8"; src = fetchFromGitHub { owner = "aws"; repo = "aws-sam-cli"; Loading @@ -22,9 +21,7 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-XFVh7e9ooIBhWRkVovPdrSuyosBMQ84PDRjV2o0x9ns="; }; build-system = with python3.pkgs; [ setuptools ]; build-system = with python3.pkgs; [ setuptools ]; pythonRelaxDeps = [ "aws-lambda-builders" Loading @@ -43,7 +40,9 @@ python3.pkgs.buildPythonApplication rec { "watchdog" ]; dependencies = with python3.pkgs; [ dependencies = with python3.pkgs; [ aws-lambda-builders aws-sam-translator boto3 Loading @@ -65,7 +64,8 @@ python3.pkgs.buildPythonApplication rec { typing-extensions tzlocal watchdog ] ++ (with python3.pkgs.boto3-stubs.optional-dependencies; [ ] ++ (with python3.pkgs.boto3-stubs.optional-dependencies; [ apigateway cloudformation ecr Loading @@ -92,6 +92,7 @@ python3.pkgs.buildPythonApplication rec { nativeCheckInputs = with python3.pkgs; [ filelock flaky jaraco-text parameterized psutil pytest-timeout Loading Loading @@ -133,9 +134,7 @@ python3.pkgs.buildPythonApplication rec { "test_import_should_succeed_for_a_defined_hidden_package_540_pkg_resources_py2_warn" ]; pythonImportsCheck = [ "samcli" ]; pythonImportsCheck = [ "samcli" ]; passthru = { tests.version = testers.testVersion { Loading @@ -143,7 +142,10 @@ python3.pkgs.buildPythonApplication rec { command = "sam --version"; }; updateScript = nix-update-script { extraArgs = [ "--version-regex" "^v([0-9.]+)$" ]; extraArgs = [ "--version-regex" "^v([0-9.]+)$" ]; }; }; Loading @@ -155,6 +157,9 @@ python3.pkgs.buildPythonApplication rec { changelog = "https://github.com/aws/aws-sam-cli/releases/tag/v${version}"; license = licenses.asl20; mainProgram = "sam"; maintainers = with maintainers; [ lo1tuma anthonyroussel ]; maintainers = with maintainers; [ lo1tuma anthonyroussel ]; }; }