2018-01-20 10:49:15 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, flask, limits }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-Limiter";
|
2019-10-24 07:47:30 +01:00
|
|
|
version = "1.1.0";
|
2018-01-20 10:49:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:30 +01:00
|
|
|
sha256 = "905c35cd87bf60c92fd87922ae23fe27aa5fb31980bab31fc00807adee9f5a55";
|
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;
|
|
|
|
};
|
|
|
|
}
|