ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
41 lines
790 B
Nix
41 lines
790 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|