python3Packages.starlette: add patch for CVE-2023-29159

This commit is contained in:
Robert Scott
2023-08-17 19:05:31 +01:00
parent b30c68669d
commit 71e2024b99

View File

@@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, hatchling
# runtime
@@ -34,6 +35,14 @@ buildPythonPackage rec {
hash = "sha256-/zYqYmmCcOLU8Di9b4BzDLFtB5wYEEF1bYN6u2rb8Lg=";
};
patches = [
(fetchpatch {
name = "CVE-2023-29159.patch";
url = "https://github.com/encode/starlette/commit/1797de464124b090f10cf570441e8292936d63e3.patch";
hash = "sha256-IZFFc0hE4eBFMltpsNPMJ0u6mobrXtd87LXrUIGbBa0=";
})
];
nativeBuildInputs = [
hatchling
];