mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +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;
|
|
};
|
|
}
|