turn-rs: 3.2.0 -> 3.3.3 (#373731)

This commit is contained in:
Gaétan Lepage
2025-02-08 11:07:16 +01:00
committed by GitHub
+16 -4
View File
@@ -1,24 +1,36 @@
{
rustPlatform,
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
nixosTests,
}:
rustPlatform.buildRustPackage rec {
pname = "turn-rs";
version = "3.2.0";
version = "3.3.3";
src = fetchFromGitHub {
owner = "mycrl";
repo = "turn-rs";
tag = "v${version}";
hash = "sha256-4I4mjG/euBL08v4xZdnrI8aTGVo5z2F2FDYtxKW1Qt8=";
hash = "sha256-kNE6FbHAFVWH04uTJBCRkrB0yzIjuXX3rxi2h5WmKWo=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-qSYGcZdMn7uelufs6z1UQtLxrRbBGNf3o1a1jR+qiqo=";
cargoHash = "sha256-VHfWVEYla7iHOATC4Rv7k560O2VUqAe4ZMo/hLiSOi4=";
# By default, no features are enabled
# https://github.com/mycrl/turn-rs?tab=readme-ov-file#features-1
cargoBuildFlags = [ "--all-features" ];
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/turn-server";
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };