diff options
author | Lein Matsumaru <applePrincess@applePrincess.io> | 2021-06-18 14:25:05 +0000 |
---|---|---|
committer | Lein Matsumaru <applePrincess@applePrincess.io> | 2021-06-18 16:48:10 +0000 |
commit | a038f775183f1c0e82928c0271d17ee9684ee99f (patch) | |
tree | 7738e14659f0c4c269b380210ef294df1ff06f8a | |
parent | 33d42ad7cf2769ce6364ed4e52afa8e9d1439d58 (diff) |
python3Packages.pecan: apply the patch for SQLAlchemy 1.4.x
-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 ]; }; } |