about summary refs log tree commit diff
path: root/pkgs/servers/matrix-synapse/plugins/pam.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/matrix-synapse/plugins/pam.nix')
-rw-r--r--pkgs/servers/matrix-synapse/plugins/pam.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/servers/matrix-synapse/plugins/pam.nix b/pkgs/servers/matrix-synapse/plugins/pam.nix
index a14fe6d6a6c58..3f51631a75e34 100644
--- a/pkgs/servers/matrix-synapse/plugins/pam.nix
+++ b/pkgs/servers/matrix-synapse/plugins/pam.nix
@@ -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; [ ];
+  };
 }