python311Packages.dj-rest-auth: fix tests
By applying a patch submitted upstream.
This commit is contained in:
parent
6c5458cf32
commit
f10674a42c
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, django
|
||||
, django-allauth
|
||||
, djangorestframework
|
||||
@ -21,6 +22,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-PTFUZ54vKlufKCQyJb+QB/+hI15r+Z0auTjnc38yMLg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/iMerica/dj-rest-auth/pull/561
|
||||
url = "https://github.com/iMerica/dj-rest-auth/commit/be0cf53d94582183320b0994082f0a312c1066d9.patch";
|
||||
hash = "sha256-BhZ7BWW8m609cVn1WCyPfpZq/706YVZAesrkcMKTD3A=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "coveralls>=1.11.1" "" \
|
||||
|
Loading…
Reference in New Issue
Block a user