From 20b338368c0d993471602e380feda4b51c407c16 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Mon, 17 Jan 2022 10:36:48 -0700 Subject: [PATCH 1/2] matrix-synapse-shared-secret-auth: 1.0.2 -> 2.0.1 --- pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix b/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix index 5c0dc1e2ce2b..e667d3417af3 100644 --- a/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix +++ b/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix @@ -1,18 +1,19 @@ -{ buildPythonPackage, fetchFromGitHub, twisted }: +{ 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 ]; } From 4091631b52aa2a8732f2a3b0e399405320ef744b Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Tue, 18 Jan 2022 07:48:45 -0700 Subject: [PATCH 2/2] matrix-synapse-shared-secret-auth: add sumnerevans as maintainer --- .../matrix-synapse/plugins/shared-secret-auth.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix b/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix index e667d3417af3..3df7f1e5a5d4 100644 --- a/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix +++ b/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix @@ -1,4 +1,4 @@ -{ buildPythonPackage, fetchFromGitHub, matrix-synapse, twisted }: +{ lib, buildPythonPackage, fetchFromGitHub, matrix-synapse, twisted }: buildPythonPackage rec { pname = "matrix-synapse-shared-secret-auth"; @@ -16,4 +16,11 @@ buildPythonPackage rec { 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 ]; + }; }