python3Packages.flask-reverse-proxy-fix: init at 0.2.1
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
a4b76d6e80
commit
e4a7fe8f4b
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, isPy3k
|
||||||
|
, flask
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "flask-reverse-proxy-fix";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
# master fixes flask import syntax and has no major changes
|
||||||
|
# new release requested: https://github.com/sublee/flask-silk/pull/6
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "antarctica";
|
||||||
|
repo = "flask-reverse-proxy-fix";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1jbr67cmnryn0igv05qkvqjwrwj2rsajvvjnv3cdkm9bkgb4h5k5";
|
||||||
|
};
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
flask
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Python Flask middleware for applications running under a reverse proxy";
|
||||||
|
maintainers = with maintainers; [ matthiasbeyer ];
|
||||||
|
homepage = "https://github.com/antarctica/flask-reverse-proxy-fix";
|
||||||
|
|
||||||
|
license = {
|
||||||
|
fullName = "Open Government Licence";
|
||||||
|
url = "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -3659,6 +3659,8 @@ in {
|
|||||||
|
|
||||||
flask-restplus = callPackage ../development/python-modules/flask-restplus { };
|
flask-restplus = callPackage ../development/python-modules/flask-restplus { };
|
||||||
|
|
||||||
|
flask-reverse-proxy-fix = callPackage ../development/python-modules/flask-reverse-proxy-fix { };
|
||||||
|
|
||||||
flask_script = callPackage ../development/python-modules/flask-script { };
|
flask_script = callPackage ../development/python-modules/flask-script { };
|
||||||
|
|
||||||
flask-silk = callPackage ../development/python-modules/flask-silk { };
|
flask-silk = callPackage ../development/python-modules/flask-silk { };
|
||||||
|
Loading…
Reference in New Issue
Block a user