2023-08-22 20:05:09 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, matrix-synapse-unwrapped, twisted }:
|
2021-03-15 08:37:03 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "matrix-synapse-shared-secret-auth";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "2.0.2";
|
2021-03-15 08:37:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "devture";
|
|
|
|
repo = "matrix-synapse-shared-secret-auth";
|
|
|
|
rev = version;
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "sha256-qzXKwTEOMtdvsxoU3Xh3vQyhK+Q18LfkeSts7EyDIXE=";
|
2021-03-15 08:37:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "shared_secret_authenticator" ];
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
buildInputs = [ matrix-synapse-unwrapped ];
|
2021-03-15 08:37:03 +00:00
|
|
|
propagatedBuildInputs = [ twisted ];
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
2021-03-15 08:37:03 +00:00
|
|
|
}
|