Skip to content

Commit

Permalink
Merge pull request #125213 from risicle/ris-starlette-alt-fix-r20.09
Browse files Browse the repository at this point in the history
[20.09] python3Packages.starlette: fix build
  • Loading branch information
risicle authored Jun 25, 2021
2 parents 86d3781 + 3777863 commit 05b1f3f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/development/python-modules/starlette/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, aiofiles
, graphene
, itsdangerous
Expand Down Expand Up @@ -31,6 +32,16 @@ buildPythonPackage rec {
sha256 = "11i0yd8cqwscixajl734g11vf8pghki11c81chzfh8ifmj6mf9jk";
};

patches = [
# a fix for https://github.com/encode/starlette/issues/1131 exposed
# by newer python 3.8+ versions
(fetchpatch {
name = "dont-use-undocumented-tracebackexception-attr.patch";
url = "https://github.com/encode/starlette/pull/1132/commits/aa97f30c73e1c830e0952f7a97d08bc5fad03dea.patch";
sha256 = "0clf8l4606y1g585dg4gvx250s2djskji8jaim4s90l9xzjag8sb";
})
];

propagatedBuildInputs = [
aiofiles
graphene
Expand Down

0 comments on commit 05b1f3f

Please sign in to comment.