blob: c7796046e595af870b693937a424b840478c0290 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
flask,
}:
buildPythonPackage rec {
pname = "flask-allowed-hosts";
version = "1.2.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "flask_allowed_hosts";
hash = "sha256-LL0Vm33R0BYo8IKyjAzpvO7ls4EfcPx3cx3OU6OsE6s=";
};
build-system = [ setuptools ];
dependencies = [ flask ];
pythonImportsCheck = [ "flask_allowed_hosts" ];
meta = {
description = "Flask extension that helps you limit access to your API endpoints";
homepage = "https://github.com/riad-azz/flask-allowedhosts";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ erictapen ];
};
}
|