Unverified Commit 935a4e00 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

matrix-synapse.plugins.matrix-synapse-pam: complete meta, add import check

parent 5de1815b
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
{ buildPythonPackage, fetchFromGitHub, twisted, python-pam }:
{ lib, buildPythonPackage, fetchFromGitHub, twisted, python-pam }:

buildPythonPackage rec {
  pname = "matrix-synapse-pam";
@@ -12,4 +12,16 @@ buildPythonPackage rec {
  };

  propagatedBuildInputs = [ twisted python-pam ];

  # has no tests
  doCheck = false;

  pythonImportsCheck = [ "pam_auth_provider" ];

  meta = with lib; {
    description = "PAM auth provider for the Synapse Matrix server";
    homepage = "https://github.com/14mRh4X0r/matrix-synapse-pam";
    license = licenses.eupl12;
    maintainers = with maintainers; [ ];
  };
}