python.pkgs.django_guardian: broken on Python 2.7

See https://github.com/django-guardian/django-guardian/pull/605.
This commit is contained in:
Robert Schütz 2019-03-15 17:50:01 +01:00
parent 6e49276182
commit 9905de73a4

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, django_environ, mock, django, six
, pytest, pytestrunner, pytest-django
}:
@ -18,5 +18,6 @@ buildPythonPackage rec {
description = "Per object permissions for Django";
homepage = https://github.com/django-guardian/django-guardian;
license = [ licenses.mit licenses.bsd2 ];
broken = !isPy3k; # https://github.com/django-guardian/django-guardian/pull/605
};
}