75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
25 lines
673 B
Nix
25 lines
673 B
Nix
{ 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 ];
|
|
};
|
|
}
|