2021-11-08 10:05:24 +00:00
|
|
|
{ lib, python, buildPythonPackage, fetchPypi, pytestCheckHook, flask }:
|
2019-12-04 19:41:22 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-11-08 10:05:24 +00:00
|
|
|
pname = "flask-httpauth";
|
|
|
|
version = "4.5.0";
|
2021-06-10 21:09:28 +01:00
|
|
|
|
2021-11-08 10:05:24 +00:00
|
|
|
disabled = python.pythonOlder "3";
|
2019-12-04 19:41:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-11-08 10:05:24 +00:00
|
|
|
pname = "Flask-HTTPAuth";
|
|
|
|
version = version;
|
|
|
|
sha256 = "0ada63rkcvwkakjyx4ay98fjzwx5h55br12ys40ghkc5lbyl0l1r";
|
2019-12-04 19:41:22 +00:00
|
|
|
};
|
|
|
|
|
2021-11-08 10:05:24 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
2019-12-04 19:41:22 +00:00
|
|
|
propagatedBuildInputs = [ flask ];
|
|
|
|
|
2021-05-02 10:30:06 +01:00
|
|
|
pythonImportsCheck = [ "flask_httpauth" ];
|
|
|
|
|
2019-12-04 19:41:22 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Extension that provides HTTP authentication for Flask routes";
|
|
|
|
homepage = "https://github.com/miguelgrinberg/Flask-HTTPAuth";
|
|
|
|
license = licenses.mit;
|
2020-08-15 14:25:59 +01:00
|
|
|
maintainers = with maintainers; [ oxzi ];
|
2019-12-04 19:41:22 +00:00
|
|
|
};
|
|
|
|
}
|