nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 27 lines 706 B view raw
1{ lib, python, buildPythonPackage, fetchPypi, pytestCheckHook, flask }: 2 3buildPythonPackage rec { 4 pname = "flask-httpauth"; 5 version = "4.6.0"; 6 7 disabled = python.pythonOlder "3"; 8 9 src = fetchPypi { 10 pname = "Flask-HTTPAuth"; 11 version = version; 12 sha256 = "sha256-IHbPhuhMaqRC7gM0S/91Hq4TPTWhpIkx5vmfFHFhtVs="; 13 }; 14 15 checkInputs = [ pytestCheckHook ]; 16 17 propagatedBuildInputs = [ flask ]; 18 19 pythonImportsCheck = [ "flask_httpauth" ]; 20 21 meta = with lib; { 22 description = "Extension that provides HTTP authentication for Flask routes"; 23 homepage = "https://github.com/miguelgrinberg/Flask-HTTPAuth"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ oxzi ]; 26 }; 27}