15 rustPlatform.buildRustPackage rec {
16 pname = "rustdesk-server";
19 src = fetchFromGitHub {
21 repo = "rustdesk-server";
23 hash = "sha256-5QyrI3KLZZcQpudYqghrotLrLjSOhdDFR5eqnJC/0fU=";
27 lockFile = ./Cargo.lock;
29 "async-speed-limit-0.3.1" = "sha256-iOel6XA07RPrBjQAFLnxXX4VBpDrYZaqQc9clnsOorI=";
30 "confy-0.4.0" = "sha256-e91cvEixhpPzIthAxzTa3fDY6eCsHUy/eZQAqs7QTDo=";
31 "tokio-socks-0.5.1" = "sha256-inmAJk0fAlsVNIwfD/M+htwIdQHwGSTRrEy6N/mspMI=";
44 ++ lib.optionals stdenv.hostPlatform.isDarwin [
49 updateScript = nix-update-script { };
50 tests.version = testers.testVersion {
52 package = rustdesk-server;
53 command = "hbbr --version";
58 description = "RustDesk Server Program";
59 homepage = "https://github.com/rustdesk/rustdesk-server";
60 changelog = "https://github.com/rustdesk/rustdesk-server/releases/tag/${version}";
61 license = licenses.agpl3Only;
62 platforms = platforms.unix;
63 maintainers = with maintainers; [