Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
731 B
Nix
38 lines
731 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
twisted,
|
|
python-pam,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "matrix-synapse-pam";
|
|
version = "0.1.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "14mRh4X0r";
|
|
repo = "matrix-synapse-pam";
|
|
rev = "v${version}";
|
|
sha256 = "0jgz49cwiyih5cg3hr4byva04zjnq8aj7rima9874la9fc5sd2wf";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|