python3Packages.flask-allowed-hosts: init at 1.1.2

This commit is contained in:
Kerstin Humm
2024-11-21 16:34:39 +01:00
committed by Valentin Gagarin
parent 8712585f72
commit 717e0a53ec
2 changed files with 34 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -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 { };