nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flask,
6 python-ldap,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "flask-simpleldap";
12 version = "2.0.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "alexferl";
17 repo = "flask-simpleldap";
18 tag = "v${version}";
19 hash = "sha256-WcedTtEwaSc3BYFE3L0FZrtKKdbwk7r3qSPP8evtYlc=";
20 };
21
22 build-system = [
23 setuptools
24 ];
25 dependencies = [
26 flask
27 python-ldap
28 ];
29
30 pythonImportsCheck = [ "flask_simpleldap" ];
31
32 meta = {
33 description = "LDAP authentication extension for Flask";
34 homepage = "https://github.com/alexferl/flask-simpleldap";
35 license = lib.licenses.mit;
36 maintainers = with lib.maintainers; [ kip93 ];
37 };
38}