From ecd57460373ae808f62cb003c11d5213142d4a2a Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Tue, 17 Sep 2024 11:20:57 +0100 Subject: [PATCH] cargo-lambda: 1.3.0 -> 1.4.0 --- .../tools/rust/cargo-lambda/default.nix | 54 ++++++++++++------- 1 file changed, 34 insertions(+), 20 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-lambda/default.nix b/pkgs/development/tools/rust/cargo-lambda/default.nix index 31bc188f5883..75127127eae2 100644 --- a/pkgs/development/tools/rust/cargo-lambda/default.nix +++ b/pkgs/development/tools/rust/cargo-lambda/default.nix @@ -1,36 +1,46 @@ -{ lib -, cacert -, curl -, rustPlatform -, fetchFromGitHub -, makeWrapper -, pkg-config -, openssl -, stdenv -, CoreServices -, Security -, zig -, nix-update-script +{ + lib, + cacert, + curl, + rustPlatform, + fetchFromGitHub, + makeWrapper, + pkg-config, + openssl, + stdenv, + CoreServices, + Security, + zig, + nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "cargo-lambda"; - version = "1.3.0"; + version = "1.4.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-6259HRTMQZWQ8wDcsExvUVzl9IaChsMmB6zaVAeSSAM="; + hash = "sha256-QTFIFD04pAcNgj+ktY8WP0ScDmSy6mNlhfiXAabMlGE="; }; - cargoHash = "sha256-fMQFifEnEsDU99vWifPWgHpGGZae84xez3m01MLK7Mo="; + cargoHash = "sha256-1/+bkxEpIvaJBJatqpX186MHKOdLO8Jiw8NEnyr9ctg="; - nativeCheckInputs = [cacert]; + nativeCheckInputs = [ cacert ]; - nativeBuildInputs = [ makeWrapper pkg-config ]; + nativeBuildInputs = [ + makeWrapper + pkg-config + ]; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ curl CoreServices Security ]; + buildInputs = + [ openssl ] + ++ lib.optionals stdenv.isDarwin [ + curl + CoreServices + Security + ]; checkFlags = [ # Disabled because they access the network. @@ -44,6 +54,7 @@ rustPlatform.buildRustPackage rec { "--skip=test_build_internal_zip_extension" "--skip=test_build_logs_extension" "--skip=test_build_telemetry_extension" + "--skip=test_build_zip_workspace" "--skip=test_download_example" "--skip=test_init_subcommand" "--skip=test_init_subcommand_without_override" @@ -77,6 +88,9 @@ rustPlatform.buildRustPackage rec { mainProgram = "cargo-lambda"; homepage = "https://cargo-lambda.info"; license = licenses.mit; - maintainers = with maintainers; [ taylor1791 calavera ]; + maintainers = with maintainers; [ + taylor1791 + calavera + ]; }; }