3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/coturn/default.nix
Ryan Mulligan b79911a70e coturn: 4.5.0.6 -> 4.5.0.7
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
2018-02-25 17:43:10 -08:00

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 ];
};
}