diff --git a/pkgs/servers/coturn/default.nix b/pkgs/servers/coturn/default.nix index abf6583350d1..b6e2acfc5902 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; { - homepage = "https://coturn.net/"; - license = with licenses; [ bsd3 ]; description = "A TURN server"; + homepage = "https://coturn.net/"; + changelog = "https://github.com/coturn/coturn/blob/${version}/ChangeLog", + license = with licenses; [ bsd3 ]; platforms = platforms.all; - broken = stdenv.isDarwin; # 2018-10-21 maintainers = with maintainers; [ ralith _0x4A6F ]; + broken = stdenv.isDarwin; # 2018-10-21 }; }