python3Packages.flask-allowed-hosts: init at 1.1.2
This commit is contained in:
committed by
Valentin Gagarin
parent
8712585f72
commit
717e0a53ec
@@ -0,0 +1,32 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user