python3Packages.pecan: apply the patch for SQLAlchemy 1.4.x

This commit is contained in:
Lein Matsumaru 2021-06-18 14:25:05 +00:00
parent 33d42ad7cf
commit a038f77518
No known key found for this signature in database
GPG key ID: AAA50652F0479205

View file

@ -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 ];
};
}