python3Packages.flask-seasurf: init at 0.3.0
This commit is contained in:
parent
70fc42b449
commit
0da9e83479
25
pkgs/development/python-modules/flask-seasurf/default.nix
Normal file
25
pkgs/development/python-modules/flask-seasurf/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue