python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / flask-httpauth / default.nix
blobf44384247552e3baed61f0e17f77c5d51651cc0e
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   setuptools,
7   flask,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "flask-httpauth";
13   version = "4.8.0";
14   format = "pyproject";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     pname = "Flask-HTTPAuth";
20     version = version;
21     hash = "sha256-ZlaKBbxzlCxl8eIgGudGKVgW3ACe3YS0gsRMdY11CXo=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   propagatedBuildInputs = [ flask ];
28   pythonImportsCheck = [ "flask_httpauth" ];
30   nativeCheckInputs = [ pytestCheckHook ] ++ flask.optional-dependencies.async;
32   meta = with lib; {
33     description = "Extension that provides HTTP authentication for Flask routes";
34     homepage = "https://github.com/miguelgrinberg/Flask-HTTPAuth";
35     changelog = "https://github.com/miguelgrinberg/Flask-HTTPAuth/blob/v${version}/CHANGES.md";
36     license = licenses.mit;
37     maintainers = with maintainers; [ oxzi ];
38   };