depot/third_party/nixpkgs/pkgs/servers/matrix-synapse/plugins/shared-secret-auth.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

26 lines
797 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, matrix-synapse, twisted }:
buildPythonPackage rec {
pname = "matrix-synapse-shared-secret-auth";
version = "2.0.2";
src = fetchFromGitHub {
owner = "devture";
repo = "matrix-synapse-shared-secret-auth";
rev = version;
sha256 = "sha256-qzXKwTEOMtdvsxoU3Xh3vQyhK+Q18LfkeSts7EyDIXE=";
};
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 ];
};
}