blob: 988ae52aa0e46e78be6b3f809fe6ff0aeefd5990 (
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
|
{ lib, python, isPy3k, buildPythonPackage, fetchPypi, flask }:
buildPythonPackage rec {
pname = "Flask-HTTPAuth";
version = "4.4.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0fl1if91hg2c92b6sic7h2vhxxvb06ri7wflmwp0pfiwbaisgamw";
};
propagatedBuildInputs = [ flask ];
pythonImportsCheck = [ "flask_httpauth" ];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
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 ];
};
}
|