pythonPackages.flask-sslify: init at 0.1.5
This commit is contained in:
parent
0da9e83479
commit
120bc6754b
2 changed files with 25 additions and 0 deletions
23
pkgs/development/python-modules/flask-sslify/default.nix
Normal file
23
pkgs/development/python-modules/flask-sslify/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue