pythonPackages.flask-sslify: init at 0.1.5

This commit is contained in:
Zhaofeng Li 2021-01-16 01:49:52 -08:00
parent 0da9e83479
commit 120bc6754b
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ lib, fetchPypi, buildPythonPackage, flask }:
buildPythonPackage rec {
pname = "Flask-SSLify";
version = "0.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "0gjl1m828z5dm3c5dpc2qjgi4llf84cp72mafr0ib5fd14y1sgnk";
};
propagatedBuildInputs = [ flask ];
doCheck = false;
pythonImportsCheck = [ "flask_sslify" ];
meta = with lib; {
description = "A Flask extension that redirects all incoming requests to HTTPS";
homepage = "https://github.com/kennethreitz42/flask-sslify";
license = licenses.bsd2;
maintainers = with maintainers; [ zhaofengli ];
};
}

View File

@ -2392,6 +2392,8 @@ in {
flask_sqlalchemy = callPackage ../development/python-modules/flask-sqlalchemy { };
flask-sslify = callPackage ../development/python-modules/flask-sslify { };
flask-swagger = callPackage ../development/python-modules/flask-swagger { };
flask-swagger-ui = callPackage ../development/python-modules/flask-swagger-ui { };