11 buildPythonPackage rec {
16 src = fetchFromGitHub {
17 owner = "FirefighterBlu3";
20 hash = "sha256-MR9LYXtkbltAmn7yoyyKZn4yMHyh3rj/i/pA8nJy2xU=";
24 substituteInPlace src/pam/__internals.py \
25 --replace 'find_library("pam")' '"${pam}/lib/libpam.so"' \
26 --replace 'find_library("pam_misc")' '"${pam}/lib/libpam_misc.so"'
29 nativeBuildInputs = [ setuptools ];
31 buildInputs = [ pam ];
33 propagatedBuildInputs = [
38 pythonImportsCheck = [ "pam" ];
41 description = "Python pam module";
42 homepage = "https://github.com/FirefighterBlu3/python-pam";
43 license = licenses.mit;
44 maintainers = with maintainers; [