diff --git a/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix b/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix index 5c0dc1e2ce2b..3df7f1e5a5d4 100644 --- a/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix +++ b/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix @@ -1,18 +1,26 @@ -{ buildPythonPackage, fetchFromGitHub, twisted }: +{ lib, buildPythonPackage, fetchFromGitHub, matrix-synapse, twisted }: buildPythonPackage rec { pname = "matrix-synapse-shared-secret-auth"; - version = "1.0.2"; + version = "2.0.1"; src = fetchFromGitHub { owner = "devture"; repo = "matrix-synapse-shared-secret-auth"; rev = version; - sha256 = "0cnxp3bp8mmk01a0g3lzgvaawyywjg754j4nb9iwkmm3c2nqvnpz"; + sha256 = "sha256-kaok5IwKx97FYDrVIGAtUJfExqDln5vxEKrZda2RdzE="; }; doCheck = false; pythonImportsCheck = [ "shared_secret_authenticator" ]; + buildInputs = [ matrix-synapse ]; propagatedBuildInputs = [ twisted ]; + + meta = with lib; { + description = "Shared Secret Authenticator password provider module for Matrix Synapse"; + homepage = "https://github.com/devture/matrix-synapse-shared-secret-auth"; + license = licenses.agpl3Plus; + maintainers = with maintainers; [ sumnerevans ]; + }; }