diff options
-rw-r--r-- | pkgs/development/python-modules/pecan/default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pecan/default.nix b/pkgs/development/python-modules/pecan/default.nix index d19fc1011347f..d610561b3e6fa 100644 --- a/pkgs/development/python-modules/pecan/default.nix +++ b/pkgs/development/python-modules/pecan/default.nix @@ -1,5 +1,6 @@ { lib , fetchPypi +, fetchpatch , buildPythonPackage , isPy27 # Python deps @@ -28,6 +29,14 @@ buildPythonPackage rec { sha256 = "4b2acd6802a04b59e306d0a6ccf37701d24376f4dc044bbbafba3afdf9d3389a"; }; + patches = [ + (fetchpatch { + name = "Support-SQLAlchemy-1.4x.patch"; + url = "https://github.com/pecan/pecan/commit/a520bd544c0b02a02dbf692b8d6e2f7a503ee6d4.patch"; + sha256 = "sha256-QCHRjwnpy8ndCvcuyE5Y65BybKYthJXDySUtmpJD8gY="; + }) + ]; + propagatedBuildInputs = [ logutils Mako @@ -51,8 +60,9 @@ buildPythonPackage rec { ]; meta = with lib; { - description = "Pecan"; - homepage = "http://www.pecanpy.org/"; + description = "WSGI object-dispatching web framework, designed to be lean and fast"; + homepage = "https://www.pecanpy.org/"; changelog = "https://pecan.readthedocs.io/en/latest/changes.html"; + maintainers = with maintainers; [ applePrincess ]; }; } |