pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / tu / turn-rs / package.nix
blobf2f5d863c6886a88c5d1656486b28f8a25da0712
2   rustPlatform,
3   lib,
4   fetchFromGitHub,
5   nix-update-script,
6   nixosTests,
7 }:
9 rustPlatform.buildRustPackage rec {
10   pname = "turn-rs";
11   version = "3.1.0";
13   src = fetchFromGitHub {
14     owner = "mycrl";
15     repo = "turn-rs";
16     rev = "refs/tags/v${version}";
17     hash = "sha256-uXMRDgSHrwT6+kejWRSE1WjXO8LaOR+fnffIXcL3A4I=";
18   };
20   cargoHash = "sha256-gO2vuOQMvl6KYp529k3CYDyma5ECzOr/lcSvP4OpUUo=";
22   passthru = {
23     updateScript = nix-update-script { };
24     tests.nixos = nixosTests.turn-rs;
25   };
27   meta = {
28     description = "Pure rust implemented turn server";
29     homepage = "https://github.com/mycrl/turn-rs";
30     changelog = "https://github.com/mycrl/turn-rs/releases/tag/v${version}";
31     license = lib.licenses.gpl3Only;
32     mainProgram = "turn-server";
33     maintainers = with lib.maintainers; [ bot-wxt1221 ];
34     platforms = lib.platforms.linux;
35   };