20 lines
476 B
Nix
20 lines
476 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, flask, limits }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Flask-Limiter";
|
|
version = "1.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1f0diannnc6rc0ngsh222lws3qf89wxm0aschaxxvwjvybf9iklc";
|
|
};
|
|
|
|
propagatedBuildInputs = [ flask limits ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Rate limiting for flask applications";
|
|
homepage = https://flask-limiter.readthedocs.org/;
|
|
license = licenses.mit;
|
|
};
|
|
}
|