rustdesk: init at 1.1.8
This commit is contained in:
parent
4a6870ca45
commit
1e0904de34
2885
pkgs/servers/rustdesk-server/Cargo.lock
generated
Normal file
2885
pkgs/servers/rustdesk-server/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
58
pkgs/servers/rustdesk-server/default.nix
Normal file
58
pkgs/servers/rustdesk-server/default.nix
Normal file
|
@ -0,0 +1,58 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, libsodium
|
||||
, sqlite
|
||||
, nix-update-script
|
||||
, testers
|
||||
, rustdesk-server
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rustdesk-server";
|
||||
version = "1.1.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rustdesk";
|
||||
repo = "rustdesk-server";
|
||||
rev = version;
|
||||
hash = "sha256-KzIylbPe+YN513UNFuisvDAIe4kICGYDUrfURDOw/no=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"async-speed-limit-0.3.1" = "sha256-iOel6XA07RPrBjQAFLnxXX4VBpDrYZaqQc9clnsOorI=";
|
||||
"confy-0.4.0" = "sha256-e91cvEixhpPzIthAxzTa3fDY6eCsHUy/eZQAqs7QTDo=";
|
||||
"tokio-socks-0.5.1" = "sha256-inmAJk0fAlsVNIwfD/M+htwIdQHwGSTRrEy6N/mspMI=";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsodium
|
||||
sqlite
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.version = testers.testVersion {
|
||||
inherit version;
|
||||
package = rustdesk-server;
|
||||
command = "hbbr --version";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "RustDesk Server Program";
|
||||
homepage = "https://github.com/rustdesk/rustdesk-server";
|
||||
changelog = "https://github.com/rustdesk/rustdesk-server/releases/tag/${version}";
|
||||
license = licenses.agpl3Only;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ gaelreyrol ];
|
||||
};
|
||||
}
|
|
@ -12391,6 +12391,8 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
rustdesk-server = callPackage ../servers/rustdesk-server { };
|
||||
|
||||
rustypaste = callPackage ../servers/rustypaste { };
|
||||
|
||||
rustypaste-cli = callPackage ../tools/misc/rustypaste-cli { };
|
||||
|
|
Loading…
Reference in a new issue