python3Packages.flask-seasurf: init at 0.3.0

This commit is contained in:
Zhaofeng Li 2021-01-16 01:23:15 -08:00
parent 70fc42b449
commit 0da9e83479
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, fetchFromGitHub, buildPythonPackage, isPy3k, flask }:
buildPythonPackage rec {
pname = "Flask-SeaSurf";
version = "0.3.0";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "maxcountryman";
repo = "flask-seasurf";
rev = version;
sha256 = "02hsvppsz1d93v641f14fdnd22gbc12ilc9k9kn7wl119n5s3pd8";
};
propagatedBuildInputs = [ flask ];
pythonImportsCheck = [ "flask_seasurf" ];
meta = with lib; {
description = "A Flask extension for preventing cross-site request forgery";
homepage = "https://github.com/maxcountryman/flask-seasurf";
license = licenses.bsd3;
maintainers = with maintainers; [ zhaofengli ];
};
}

View file

@ -2382,6 +2382,8 @@ in {
flask_script = callPackage ../development/python-modules/flask-script { };
flask-seasurf = callPackage ../development/python-modules/flask-seasurf { };
flask-silk = callPackage ../development/python-modules/flask-silk { };
flask-socketio = callPackage ../development/python-modules/flask-socketio { };