python311Packages.flask-simpleldap: init at 2.0.0 (#293002)
This commit is contained in:
commit
f9480b46d5
41
pkgs/development/python-modules/flask-simpleldap/default.nix
Normal file
41
pkgs/development/python-modules/flask-simpleldap/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
flask,
|
||||
python-ldap,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-simpleldap";
|
||||
version = "2.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexferl";
|
||||
repo = "flask-simpleldap";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-WcedTtEwaSc3BYFE3L0FZrtKKdbwk7r3qSPP8evtYlc=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
dependencies = [
|
||||
flask
|
||||
python-ldap
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "flask_simpleldap" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "LDAP authentication extension for Flask";
|
||||
homepage = "https://github.com/alexferl/flask-simpleldap";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kip93 ];
|
||||
};
|
||||
}
|
@ -4577,6 +4577,8 @@ self: super: with self; {
|
||||
|
||||
flask-silk = callPackage ../development/python-modules/flask-silk { };
|
||||
|
||||
flask-simpleldap = callPackage ../development/python-modules/flask-simpleldap { };
|
||||
|
||||
flask-sock = callPackage ../development/python-modules/flask-sock { };
|
||||
|
||||
flask-socketio = callPackage ../development/python-modules/flask-socketio { };
|
||||
|
Loading…
Reference in New Issue
Block a user