python3Packages.django_compat: fix tests and re-enable
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "django-compat";
|
||||
version = "1.0.15";
|
||||
# django-compat requires django < 2.0
|
||||
disabled = stdenv.lib.versionAtLeast django.version "2.0";
|
||||
|
||||
# the pypi packages don't include everything required for the tests
|
||||
src = fetchFromGitHub {
|
||||
@@ -16,6 +14,10 @@ buildPythonPackage rec {
|
||||
sha256 = "1pr6v38ahrsvxlgmcx69s4b5q5082f44gzi4h3c32sccdc4pwqxp";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./fix-tests.diff
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
|
||||
Reference in New Issue
Block a user