mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
cargo-lambda: 1.3.0 -> 1.4.0 (#342505)
This commit is contained in:
commit
074978a7c7
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user