2021-12-06 16:07:01 +00:00
|
|
|
{ lib, python, buildPythonPackage, fetchPypi, pytestCheckHook, flask }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "flask-httpauth";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "4.6.0";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
disabled = python.pythonOlder "3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "Flask-HTTPAuth";
|
|
|
|
version = version;
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "sha256-IHbPhuhMaqRC7gM0S/91Hq4TPTWhpIkx5vmfFHFhtVs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ flask ];
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
pythonImportsCheck = [ "flask_httpauth" ];
|
|
|
|
|
2020-04-24 23:36:52 +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-20 17:08:02 +00:00
|
|
|
maintainers = with maintainers; [ oxzi ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|