1 { lib, buildPythonPackage, fetchFromGitHub, twisted, python-pam }:
3 buildPythonPackage rec {
4 pname = "matrix-synapse-pam";
7 src = fetchFromGitHub {
9 repo = "matrix-synapse-pam";
11 sha256 = "0jgz49cwiyih5cg3hr4byva04zjnq8aj7rima9874la9fc5sd2wf";
14 propagatedBuildInputs = [ twisted python-pam ];
19 pythonImportsCheck = [ "pam_auth_provider" ];
22 description = "PAM auth provider for the Synapse Matrix server";
23 homepage = "https://github.com/14mRh4X0r/matrix-synapse-pam";
24 license = licenses.eupl12;