14 rustPlatform.buildRustPackage rec {
15 pname = "rustdesk-server";
18 src = fetchFromGitHub {
20 repo = "rustdesk-server";
22 hash = "sha256-wGV7Fsil26qs0BYI8G5pVJDvJvNIyrd/yaIJaGAodpw=";
26 lockFile = ./Cargo.lock;
28 "async-speed-limit-0.3.1" = "sha256-iOel6XA07RPrBjQAFLnxXX4VBpDrYZaqQc9clnsOorI=";
29 "confy-0.4.0" = "sha256-e91cvEixhpPzIthAxzTa3fDY6eCsHUy/eZQAqs7QTDo=";
30 "tokio-socks-0.5.1" = "sha256-inmAJk0fAlsVNIwfD/M+htwIdQHwGSTRrEy6N/mspMI=";
41 ] ++ lib.optionals stdenv.isDarwin [
46 updateScript = nix-update-script { };
47 tests.version = testers.testVersion {
49 package = rustdesk-server;
50 command = "hbbr --version";
55 description = "RustDesk Server Program";
56 homepage = "https://github.com/rustdesk/rustdesk-server";
57 changelog = "https://github.com/rustdesk/rustdesk-server/releases/tag/${version}";
58 license = licenses.agpl3Only;
59 platforms = platforms.unix;
60 maintainers = with maintainers; [ gaelreyrol tjni ];