pythonPackages.flask-httpauth: 4.4.0 -> 4.5.0

This commit is contained in:
Alvar Penning 2021-11-08 11:05:24 +01:00
parent c910eaa827
commit 548d58d7a0

View File

@ -1,24 +1,23 @@
{ lib, python, isPy3k, buildPythonPackage, fetchPypi, flask }:
{ lib, python, buildPythonPackage, fetchPypi, pytestCheckHook, flask }:
buildPythonPackage rec {
pname = "Flask-HTTPAuth";
version = "4.4.0";
pname = "flask-httpauth";
version = "4.5.0";
disabled = !isPy3k;
disabled = python.pythonOlder "3";
src = fetchPypi {
inherit pname version;
sha256 = "0fl1if91hg2c92b6sic7h2vhxxvb06ri7wflmwp0pfiwbaisgamw";
pname = "Flask-HTTPAuth";
version = version;
sha256 = "0ada63rkcvwkakjyx4ay98fjzwx5h55br12ys40ghkc5lbyl0l1r";
};
checkInputs = [ pytestCheckHook ];
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";