forked from mirrors/nixpkgs
pythonPackages.pam: init at 1.8.4
This commit is contained in:
parent
2719bdf087
commit
4e71d7ed46
32
pkgs/development/python-modules/pam/default.nix
Normal file
32
pkgs/development/python-modules/pam/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pam
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-pam";
|
||||
version = "1.8.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FirefighterBlu3";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0gp7vzd332j7jwndcnz7kc9j283d6lyv32bndd1nqv9ghzv69sxp";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pam
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed "s|find_library(\"pam\")|\"${pam}/lib/libpam.so\"|g" -i pam.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python pam module supporting py3 (and py2)";
|
||||
homepage = "https://github.com/FirefighterBlu3/python-pam";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mkg20001 ];
|
||||
};
|
||||
}
|
|
@ -3097,6 +3097,10 @@ in {
|
|||
|
||||
oyaml = callPackage ../development/python-modules/oyaml { };
|
||||
|
||||
pam = callPackage ../development/python-modules/pam {
|
||||
inherit (pkgs) pam;
|
||||
};
|
||||
|
||||
pamela = callPackage ../development/python-modules/pamela { };
|
||||
|
||||
paperspace = callPackage ../development/python-modules/paperspace { };
|
||||
|
|
Loading…
Reference in a new issue