cargo-lambda: 1.4.0 -> 1.5.0 (#354354)
This commit is contained in:
@@ -16,16 +16,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-lambda";
|
||||
version = "1.4.0";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-QTFIFD04pAcNgj+ktY8WP0ScDmSy6mNlhfiXAabMlGE=";
|
||||
hash = "sha256-58kVtwBZEAlv9eVesqmWMZ+KxAwEiGMm8mCf9X5tPMI=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-1/+bkxEpIvaJBJatqpX186MHKOdLO8Jiw8NEnyr9ctg=";
|
||||
cargoHash = "sha256-DoMIVpYtEHvYSW2THpZFdhoFI0zjC70hYnwnzGwkJ4Q=";
|
||||
|
||||
nativeCheckInputs = [ cacert ];
|
||||
|
||||
@@ -43,36 +43,16 @@ rustPlatform.buildRustPackage rec {
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
# Disabled because they access the network.
|
||||
"--skip=test_build_basic_extension"
|
||||
"--skip=test_build_basic_function"
|
||||
"--skip=test_build_basic_zip_extension"
|
||||
"--skip=test_build_basic_zip_function"
|
||||
"--skip=test_build_event_type_function"
|
||||
"--skip=test_build_http_feature_function"
|
||||
"--skip=test_build_http_function"
|
||||
"--skip=test_build_internal_zip_extension"
|
||||
"--skip=test_build_logs_extension"
|
||||
"--skip=test_build_telemetry_extension"
|
||||
"--skip=test_build_zip_workspace"
|
||||
# Tests disabled because they access the network.
|
||||
"--skip=test_download_example"
|
||||
"--skip=test_init_subcommand"
|
||||
"--skip=test_init_subcommand_without_override"
|
||||
"--skip=test_build_example"
|
||||
"--skip=test_deploy_workspace"
|
||||
"--skip=test_add_files"
|
||||
"--skip=test_consistent_hash"
|
||||
"--skip=test_create_binary_archive_from_target"
|
||||
"--skip=test_create_binary_archive_with_base_path"
|
||||
"--skip=test_zip_extension"
|
||||
"--skip=test_zip_funcion"
|
||||
"--skip=test_zip_funcion_with_files"
|
||||
"--skip=test_zip_internal_extension"
|
||||
];
|
||||
|
||||
# remove date from version output to make reproducible
|
||||
# Remove files that don't make builds reproducible:
|
||||
# - Remove build.rs file that adds the build date to the version.
|
||||
# - Remove cargo_lambda.rs that contains tests that reach the network.
|
||||
postPatch = ''
|
||||
rm crates/cargo-lambda-cli/build.rs
|
||||
rm crates/cargo-lambda-cli/tests/cargo_lambda.rs
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
||||
Reference in New Issue
Block a user