blob: 34936555836d39268f9657a930c4a03634f18d16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
flask,
}:
buildPythonPackage rec {
pname = "flask-httpauth";
version = "4.8.0";
pyproject = true;
src = fetchPypi {
pname = "Flask-HTTPAuth";
version = version;
hash = "sha256-ZlaKBbxzlCxl8eIgGudGKVgW3ACe3YS0gsRMdY11CXo=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ flask ];
pythonImportsCheck = [ "flask_httpauth" ];
nativeCheckInputs = [ pytestCheckHook ] ++ flask.optional-dependencies.async;
meta = {
description = "Extension that provides HTTP authentication for Flask routes";
homepage = "https://github.com/miguelgrinberg/Flask-HTTPAuth";
changelog = "https://github.com/miguelgrinberg/Flask-HTTPAuth/blob/v${version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ oxzi ];
};
}
|