Commit 717e0a53 authored by Kerstin Humm's avatar Kerstin Humm Committed by Valentin Gagarin
Browse files

python3Packages.flask-allowed-hosts: init at 1.1.2

parent 8712585f
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  flask,
}:

buildPythonPackage rec {
  pname = "flask-allowed-hosts";
  version = "1.1.2";
  pyproject = true;

  src = fetchPypi {
    inherit version;
    pname = "flask_allowed_hosts";
    hash = "sha256-l25bZlJkOVI+S+HtAK22ZGULP95evx2NASA9ViIax7Q=";
  };

  build-system = [ setuptools ];

  dependencies = [ flask ];

  pythonImportsCheck = [ "flask_allowed_hosts" ];

  meta = with lib; {
    description = "Flask extension that helps you limit access to your API endpoints";
    homepage = "https://github.com/riad-azz/flask-allowedhosts";
    license = licenses.mit;
    maintainers = with maintainers; [ erictapen ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4600,6 +4600,8 @@ self: super: with self; {
  flask-admin = callPackage ../development/python-modules/flask-admin { };
  flask-allowed-hosts = callPackage ../development/python-modules/flask-allowed-hosts { };
  flask-api = callPackage ../development/python-modules/flask-api { };
  flask-appbuilder = callPackage ../development/python-modules/flask-appbuilder { };