blob: f44384247552e3baed61f0e17f77c5d51651cc0e (
plain) (
blame)
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
37
38
39
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
flask,
pythonOlder,
}:
buildPythonPackage rec {
pname = "flask-httpauth";
version = "4.8.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Flask-HTTPAuth";
version = version;
hash = "sha256-ZlaKBbxzlCxl8eIgGudGKVgW3ACe3YS0gsRMdY11CXo=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ flask ];
pythonImportsCheck = [ "flask_httpauth" ];
nativeCheckInputs = [ pytestCheckHook ] ++ flask.optional-dependencies.async;
meta = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ oxzi ];
};
}
|