2018-01-20 10:49:15 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, flask, limits }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-Limiter";
|
2020-11-29 14:04:28 +00:00
|
|
|
version = "1.4";
|
2018-01-20 10:49:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:28 +00:00
|
|
|
sha256 = "021279c905a1e24f181377ab3be711be7541734b494f4e6db2b8edeba7601e48";
|
2018-01-20 10:49:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ flask limits ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Rate limiting for flask applications";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://flask-limiter.readthedocs.org/";
|
2018-01-20 10:49:15 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|