mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-24 17:40:37 +00:00
rustus: nixfmt
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user