From 26f0929fb7d2a57ce9676e58258bff06e399512a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 5 Dec 2022 07:13:25 +0000 Subject: [PATCH 1/3] coturn: 4.6.0 -> 4.6.1 --- pkgs/servers/coturn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/coturn/default.nix b/pkgs/servers/coturn/default.nix index 92c1e9b4a30a..abf6583350d1 100644 --- a/pkgs/servers/coturn/default.nix +++ b/pkgs/servers/coturn/default.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation rec { pname = "coturn"; - version = "4.6.0"; + version = "4.6.1"; src = fetchFromGitHub { owner = "coturn"; repo = "coturn"; rev = version; - sha256 = "sha256-QXApGJme/uteeKS8oiVLPOYUKzxTKdSC4WMlKS0VW5Q="; + sha256 = "sha256-ckqPxG3ieqA0H9g1GfE8hYs6tUsZfzt6/yYR1qlgoxE="; }; nativeBuildInputs = [ pkg-config ]; From 3ee2983103952069b96407aeee2248a0e74a243c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 5 Dec 2022 09:17:34 +0100 Subject: [PATCH 2/3] coturn: add changelog to meta --- pkgs/servers/coturn/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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 }; } From 2c16d64efdceea43826cf6c7e7a407b8555898da Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 5 Dec 2022 09:18:14 +0100 Subject: [PATCH 3/3] coturn: fix typo --- pkgs/servers/coturn/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/coturn/default.nix b/pkgs/servers/coturn/default.nix index b6e2acfc5902..6b9bee6dcdae 100644 --- a/pkgs/servers/coturn/default.nix +++ b/pkgs/servers/coturn/default.nix @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A TURN server"; homepage = "https://coturn.net/"; - changelog = "https://github.com/coturn/coturn/blob/${version}/ChangeLog", + changelog = "https://github.com/coturn/coturn/blob/${version}/ChangeLog"; license = with licenses; [ bsd3 ]; platforms = platforms.all; maintainers = with maintainers; [ ralith _0x4A6F ];