diff --git a/pkgs/servers/http/nginx/modules.nix b/pkgs/servers/http/nginx/modules.nix index 1ecbeb5b53d4..14e9e97deb0f 100644 --- a/pkgs/servers/http/nginx/modules.nix +++ b/pkgs/servers/http/nginx/modules.nix @@ -662,14 +662,15 @@ let self = { }; }; - secure-token = { + secure-token = rec { name = "secure-token"; + version = "1.5"; src = fetchFromGitHub { name = "secure-token"; owner = "kaltura"; repo = "nginx-secure-token-module"; - rev = "95bdc0d1aca06ea7fe42555f71e65910bd74914d"; - sha256 = "19wzck1xzq4kz7nyabcwzlank1k7wi7w2wn2c1mwz374c79g8ggp"; + rev = "refs/tags/${version}"; + hash = "sha256-qYTjGS9pykRqMFmNls52YKxEdXYhHw+18YC2zzdjEpU="; }; inputs = [ openssl ];