diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/coturn/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/coturn/default.nix | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/servers/coturn/default.nix b/nixpkgs/pkgs/servers/coturn/default.nix index c32ddecc7a36..73b1ba01844a 100644 --- a/nixpkgs/pkgs/servers/coturn/default.nix +++ b/nixpkgs/pkgs/servers/coturn/default.nix @@ -1,28 +1,45 @@ -{ stdenv, fetchFromGitHub, fetchpatch, openssl, libevent }: +{ lib +, stdenv +, fetchFromGitHub +, fetchpatch +, openssl +, libevent +, pkg-config +, libprom +, libpromhttp +, libmicrohttpd +}: stdenv.mkDerivation rec { pname = "coturn"; - version = "4.5.1.3"; + version = "4.5.2"; src = fetchFromGitHub { owner = "coturn"; repo = "coturn"; rev = version; - sha256 = "1801931k4qdvc7jvaqxvjyhbh1xsvjz0pjajf6xc222n4ggar1q5"; + sha256 = "1s7ncc82ny4bb3qkn3fqr0144xsr7h2y8xmzsf5037h6j8f7j3v8"; }; - buildInputs = [ openssl libevent ]; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ + openssl + libevent + libprom + libpromhttp + libmicrohttpd + ]; patches = [ ./pure-configure.patch ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://coturn.net/"; license = with licenses; [ bsd3 ]; description = "A TURN server"; platforms = platforms.all; broken = stdenv.isDarwin; # 2018-10-21 - maintainers = [ maintainers.ralith ]; + maintainers = with maintainers; [ ralith _0x4A6F ]; }; } |