mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 20:19:16 +03:00
rustdesk: fmt
This commit is contained in:
parent
3995beae6d
commit
2189b25956
@ -1,37 +1,38 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, wrapGAppsHook3
|
||||
, atk
|
||||
, bzip2
|
||||
, cairo
|
||||
, dbus
|
||||
, gdk-pixbuf
|
||||
, glib
|
||||
, gst_all_1
|
||||
, gtk3
|
||||
, libayatana-appindicator
|
||||
, libgit2
|
||||
, libpulseaudio
|
||||
, libsodium
|
||||
, libXtst
|
||||
, libvpx
|
||||
, libyuv
|
||||
, libopus
|
||||
, libaom
|
||||
, libxkbcommon
|
||||
, libsciter
|
||||
, xdotool
|
||||
, pam
|
||||
, pango
|
||||
, zlib
|
||||
, zstd
|
||||
, stdenv
|
||||
, darwin
|
||||
, alsa-lib
|
||||
, makeDesktopItem
|
||||
, copyDesktopItems
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
wrapGAppsHook3,
|
||||
atk,
|
||||
bzip2,
|
||||
cairo,
|
||||
dbus,
|
||||
gdk-pixbuf,
|
||||
glib,
|
||||
gst_all_1,
|
||||
gtk3,
|
||||
libayatana-appindicator,
|
||||
libgit2,
|
||||
libpulseaudio,
|
||||
libsodium,
|
||||
libXtst,
|
||||
libvpx,
|
||||
libyuv,
|
||||
libopus,
|
||||
libaom,
|
||||
libxkbcommon,
|
||||
libsciter,
|
||||
xdotool,
|
||||
pam,
|
||||
pango,
|
||||
zlib,
|
||||
zstd,
|
||||
stdenv,
|
||||
darwin,
|
||||
alsa-lib,
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -102,42 +103,48 @@ rustPlatform.buildRustPackage rec {
|
||||
# Checks require an active X server
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [
|
||||
atk
|
||||
bzip2
|
||||
cairo
|
||||
dbus
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gstreamer
|
||||
gtk3
|
||||
libgit2
|
||||
libpulseaudio
|
||||
libsodium
|
||||
libXtst
|
||||
libvpx
|
||||
libyuv
|
||||
libopus
|
||||
libaom
|
||||
libxkbcommon
|
||||
pam
|
||||
pango
|
||||
zlib
|
||||
zstd
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
darwin.apple_sdk.frameworks.CoreAudio
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
darwin.apple_sdk.frameworks.CoreGraphics
|
||||
darwin.apple_sdk.frameworks.Foundation
|
||||
darwin.apple_sdk.frameworks.IOKit
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
alsa-lib
|
||||
xdotool
|
||||
];
|
||||
buildInputs =
|
||||
[
|
||||
atk
|
||||
bzip2
|
||||
cairo
|
||||
dbus
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gstreamer
|
||||
gtk3
|
||||
libgit2
|
||||
libpulseaudio
|
||||
libsodium
|
||||
libXtst
|
||||
libvpx
|
||||
libyuv
|
||||
libopus
|
||||
libaom
|
||||
libxkbcommon
|
||||
pam
|
||||
pango
|
||||
zlib
|
||||
zstd
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin (
|
||||
with darwin.apple_sdk.frameworks;
|
||||
[
|
||||
AppKit
|
||||
CoreAudio
|
||||
CoreFoundation
|
||||
CoreGraphics
|
||||
Foundation
|
||||
IOKit
|
||||
Security
|
||||
SystemConfiguration
|
||||
]
|
||||
)
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
alsa-lib
|
||||
xdotool
|
||||
];
|
||||
|
||||
# Add static ui resources and libsciter to same folder as binary so that it
|
||||
# can find them.
|
||||
@ -165,11 +172,14 @@ rustPlatform.buildRustPackage rec {
|
||||
ZSTD_SYS_USE_PKG_CONFIG = true;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Virtual / remote desktop infrastructure for everyone! Open source TeamViewer / Citrix alternative";
|
||||
homepage = "https://rustdesk.com";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ ocfox leixb ];
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [
|
||||
ocfox
|
||||
leixb
|
||||
];
|
||||
mainProgram = "rustdesk";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user