mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 14:47:06 +00:00
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;
|
|
};
|
|
}
|