mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
python311Packages.djangorestframework: add patch for CVE-2024-21520
This commit is contained in:
parent
d092841022
commit
545b7eff65
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
coreapi,
|
||||
django,
|
||||
django-guardian,
|
||||
@ -26,6 +27,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-Fnj0n3NS3SetOlwSmGkLE979vNJnYE6i6xwVBslpNz4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2024-21520.patch";
|
||||
url = "https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642.patch";
|
||||
hash = "sha256-1NoRlV+sqHezDo28x38GD6DpcQuUF1q3YQXEb3SUvKQ=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
pytz
|
||||
|
Loading…
Reference in New Issue
Block a user