2018-01-20 10:49:15 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, flask, limits }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-Limiter";
|
2020-06-06 07:47:07 +01:00
|
|
|
version = "1.3.1";
|
2018-01-20 10:49:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:07 +01:00
|
|
|
sha256 = "08d6d7534a847c532fd36d0df978f93908d8616813085941c862bbcfcf6811aa";
|
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;
|
|
|
|
};
|
|
|
|
}
|