summary refs log tree commit diff
path: root/pkgs/development/python-modules/flask-httpauth/default.nix
blob: e667e08b144ac04cec03f6eb9dff327d601fe8e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, python, buildPythonPackage, fetchPypi, pytestCheckHook, flask }:

buildPythonPackage rec {
  pname = "flask-httpauth";
  version = "4.5.0";

  disabled = python.pythonOlder "3";

  src = fetchPypi {
    pname = "Flask-HTTPAuth";
    version = version;
    sha256 = "0ada63rkcvwkakjyx4ay98fjzwx5h55br12ys40ghkc5lbyl0l1r";
  };

  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 ];
  };
}