2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, flask, limits }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-Limiter";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "1.3.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "08d6d7534a847c532fd36d0df978f93908d8616813085941c862bbcfcf6811aa";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ flask limits ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Rate limiting for flask applications";
|
|
|
|
homepage = "https://flask-limiter.readthedocs.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|