rustus: nixfmt

This commit is contained in:
wxt
2024-11-13 12:43:57 +08:00
parent f507397ee5
commit b05db67be9

View File

@@ -1,11 +1,12 @@
{ stdenv
, lib
, fetchFromGitHub
, rustPlatform
, nix-update-script
, pkg-config
, openssl
, darwin,
{
stdenv,
lib,
fetchFromGitHub,
rustPlatform,
nix-update-script,
pkg-config,
openssl,
darwin,
}:
let
@@ -34,11 +35,13 @@ rustPlatform.buildRustPackage {
pkg-config
];
buildInputs = [
openssl
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
buildInputs =
[
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
passthru.updateScript = nix-update-script { };
@@ -64,7 +67,6 @@ rustPlatform.buildRustPackage {
# "--skip=util::tests::test_process_multi_addr"
# ];
meta = with lib; {
description = "TUS protocol implementation in Rust";
mainProgram = "rustus";