depot/third_party/nixpkgs/pkgs/development/python-modules/flask-httpauth/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

27 lines
706 B
Nix

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