1{ lib, python, buildPythonPackage, fetchPypi, pytestCheckHook, flask }:
2
3buildPythonPackage rec {
4 pname = "flask-httpauth";
5 version = "4.7.0";
6
7 disabled = python.pythonOlder "3";
8
9 src = fetchPypi {
10 pname = "Flask-HTTPAuth";
11 version = version;
12 sha256 = "sha256-9xmee60g1baLPwtivd/KdjfFUIfp0C9gWuJuDeR5/ZQ=";
13 };
14
15 checkInputs = [ pytestCheckHook ];
16
17 propagatedBuildInputs = [ flask ];
18
19 pythonImportsCheck = [ "flask_httpauth" ];
20
21 meta = with lib; {
22 description = "Extension that provides HTTP authentication for Flask routes";
23 homepage = "https://github.com/miguelgrinberg/Flask-HTTPAuth";
24 license = licenses.mit;
25 maintainers = with maintainers; [ oxzi ];
26 };
27}