pretender: 1.2.0 -> 1.3.0 (#378434)
[NixPkgs.git] / pkgs / development / python-modules / flask-simpleldap / default.nix
blob968571ac8463f3802adead6b2a42bb854fb1d32b
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   flask,
7   python-ldap,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "flask-simpleldap";
13   version = "2.0.0";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "alexferl";
20     repo = "flask-simpleldap";
21     tag = "v${version}";
22     hash = "sha256-WcedTtEwaSc3BYFE3L0FZrtKKdbwk7r3qSPP8evtYlc=";
23   };
25   build-system = [
26     setuptools
27   ];
28   dependencies = [
29     flask
30     python-ldap
31   ];
33   pythonImportsCheck = [ "flask_simpleldap" ];
35   meta = with lib; {
36     description = "LDAP authentication extension for Flask";
37     homepage = "https://github.com/alexferl/flask-simpleldap";
38     license = licenses.mit;
39     maintainers = with maintainers; [ kip93 ];
40   };