You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
706 B
27 lines
706 B
{ lib, python, buildPythonPackage, fetchPypi, pytestCheckHook, flask }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flask-httpauth";
|
|
version = "4.6.0";
|
|
|
|
disabled = python.pythonOlder "3";
|
|
|
|
src = fetchPypi {
|
|
pname = "Flask-HTTPAuth";
|
|
version = version;
|
|
sha256 = "sha256-IHbPhuhMaqRC7gM0S/91Hq4TPTWhpIkx5vmfFHFhtVs=";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
propagatedBuildInputs = [ flask ];
|
|
|
|
pythonImportsCheck = [ "flask_httpauth" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|