vscode-extensions.capatech.betacode: init at 0.1.10 (#355720)
[NixPkgs.git] / pkgs / servers / matrix-synapse / plugins / shared-secret-auth.nix
blobb5be02a4b21af2fb560c0d252b3a781e8deb6d27
1 { lib, buildPythonPackage, fetchFromGitHub, matrix-synapse-unwrapped, twisted }:
3 buildPythonPackage rec {
4   pname = "matrix-synapse-shared-secret-auth";
5   version = "2.0.2";
7   src = fetchFromGitHub {
8     owner = "devture";
9     repo = "matrix-synapse-shared-secret-auth";
10     rev = version;
11     sha256 = "sha256-qzXKwTEOMtdvsxoU3Xh3vQyhK+Q18LfkeSts7EyDIXE=";
12   };
14   doCheck = false;
15   pythonImportsCheck = [ "shared_secret_authenticator" ];
17   buildInputs = [ matrix-synapse-unwrapped ];
18   propagatedBuildInputs = [ twisted ];
20   meta = with lib; {
21     description = "Shared Secret Authenticator password provider module for Matrix Synapse";
22     homepage = "https://github.com/devture/matrix-synapse-shared-secret-auth";
23     license = licenses.agpl3Plus;
24     maintainers = with maintainers; [ sumnerevans ];
25   };