diff options
Diffstat (limited to 'pkgs/servers/coturn')
-rw-r--r-- | pkgs/servers/coturn/default.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/servers/coturn/default.nix b/pkgs/servers/coturn/default.nix index abf6583350d..b6e2acfc590 100644 --- a/pkgs/servers/coturn/default.nix +++ b/pkgs/servers/coturn/default.nix @@ -19,11 +19,14 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "coturn"; repo = "coturn"; - rev = version; - sha256 = "sha256-ckqPxG3ieqA0H9g1GfE8hYs6tUsZfzt6/yYR1qlgoxE="; + rev = "refs/tags/${version}"; + hash = "sha256-ckqPxG3ieqA0H9g1GfE8hYs6tUsZfzt6/yYR1qlgoxE="; }; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ + pkg-config + ]; + buildInputs = [ openssl libevent @@ -47,11 +50,12 @@ stdenv.mkDerivation rec { passthru.tests.coturn = nixosTests.coturn; meta = with lib; { + description = "A TURN server"; homepage = "https://coturn.net/"; + changelog = "https://github.com/coturn/coturn/blob/${version}/ChangeLog", license = with licenses; [ bsd3 ]; - description = "A TURN server"; platforms = platforms.all; - broken = stdenv.isDarwin; # 2018-10-21 maintainers = with maintainers; [ ralith _0x4A6F ]; + broken = stdenv.isDarwin; # 2018-10-21 }; } |