mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
b79911a70e
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/70pa0xb505v9glp792ldfq66ifjbrk5i-coturn-4.5.0.7/bin/turnserver -h` got 0 exit code - ran `/nix/store/70pa0xb505v9glp792ldfq66ifjbrk5i-coturn-4.5.0.7/bin/turnserver -h` and found version 4.5.0.7 - ran `/nix/store/70pa0xb505v9glp792ldfq66ifjbrk5i-coturn-4.5.0.7/bin/turnadmin -h` got 0 exit code - ran `/nix/store/70pa0xb505v9glp792ldfq66ifjbrk5i-coturn-4.5.0.7/bin/turnadmin --help` got 0 exit code - ran `/nix/store/70pa0xb505v9glp792ldfq66ifjbrk5i-coturn-4.5.0.7/bin/turnutils_natdiscovery help` got 0 exit code - found 4.5.0.7 with grep in /nix/store/70pa0xb505v9glp792ldfq66ifjbrk5i-coturn-4.5.0.7 - found 4.5.0.7 in filename of file in /nix/store/70pa0xb505v9glp792ldfq66ifjbrk5i-coturn-4.5.0.7
28 lines
633 B
Nix
28 lines
633 B
Nix
{ stdenv, fetchFromGitHub, openssl, libevent }:
|
|
|
|
let inherit (stdenv.lib) optional; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "coturn-${version}";
|
|
version = "4.5.0.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "coturn";
|
|
repo = "coturn";
|
|
rev = "${version}";
|
|
sha256 = "1781fx8lqgc54j973xzgq9d7k3g2j03va82jb4217gd3a93pa65l";
|
|
};
|
|
|
|
buildInputs = [ openssl libevent ];
|
|
|
|
patches = [ ./pure-configure.patch ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://coturn.net/;
|
|
license = with licenses; [ bsd3 ];
|
|
description = "A TURN server";
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.ralith ];
|
|
};
|
|
}
|