nixpkgs/pkgs/development/python-modules/flask-limiter/default.nix

20 lines
476 B
Nix
Raw Normal View History

{ 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;
};
}