blob: b200edd62be652401e102dc130380441d6d3da84 (
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
40
41
42
43
44
45
|
{ 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";
license = licenses.mit;
maintainers = with maintainers; [ oxzi ];
};
}
|