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

This commit is contained in:
Sandro Jäckel 2023-02-20 01:46:15 +01:00
parent 5de1815be9
commit 935a4e0039
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,4 +1,4 @@
{ 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; [ ];
};
}