mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #121482 from oxzi/python-flask-httpauth-4.3.0
This commit is contained in:
commit
20391d9236
1 changed files with 9 additions and 3 deletions
|
@ -1,16 +1,22 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, flask }:
|
{ lib, python, buildPythonPackage, fetchPypi, flask }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Flask-HTTPAuth";
|
pname = "Flask-HTTPAuth";
|
||||||
version = "4.2.0";
|
version = "4.3.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "8c7e49e53ce7dc14e66fe39b9334e4b7ceb8d0b99a6ba1c3562bb528ef9da84a";
|
sha256 = "05j1mckwhgicrlj4j7ni2rhcf9w4i7phll06jbjjyvs3rj1l4q1f";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ flask ];
|
propagatedBuildInputs = [ flask ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "flask_httpauth" ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest discover
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Extension that provides HTTP authentication for Flask routes";
|
description = "Extension that provides HTTP authentication for Flask routes";
|
||||||
homepage = "https://github.com/miguelgrinberg/Flask-HTTPAuth";
|
homepage = "https://github.com/miguelgrinberg/Flask-HTTPAuth";
|
||||||
|
|
Loading…
Reference in a new issue