Unverified Commit ec2959b9 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

turn-rs: 3.4.0 -> 4.0.0 (#495844)

parents 259b6ca1 37bf213a
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
  lib,
  rustPlatform,
  fetchFromGitHub,
  # Dependencies
  protobuf,
  # Tests
  versionCheckHook,
  nix-update-script,
  nixosTests,
@@ -9,21 +12,25 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "turn-rs";
  version = "3.4.0";
  version = "4.0.0";

  src = fetchFromGitHub {
    owner = "mycrl";
    repo = "turn-rs";
    tag = "v${finalAttrs.version}";
    hash = "sha256-BW5dNPkf/JGrf00BI41rEoZRmqftoz+RMGiP6ECVEec=";
    hash = "sha256-HYrFnwxj4BRk2PGK52il5Bh5hxvWHJNQ/5Y0u5FSTwY=";
  };

  cargoHash = "sha256-wnbovuxh3wc1TU8BYZEOG/8SO9bCUd0eWRC81MtAdqo=";
  cargoHash = "sha256-q1kq2ISzKZfJfKTRkMrVMQqngAqG2INfej9lGoll5c0=";

  # By default, no features are enabled
  # https://github.com/mycrl/turn-rs?tab=readme-ov-file#features-1
  cargoBuildFlags = [ "--all-features" ];

  nativeBuildInputs = [
    protobuf
  ];

  nativeInstallCheckInputs = [
    versionCheckHook
  ];