@@ -1,6 +1,6 @@
1−{ stdenv, buildPythonPackage, python, fetchPypi
1+{ stdenv, buildPythonPackage, fetchPypi
22, django_environ, mock, django, six
3−, pytest, pytestrunner, pytest-django, setuptools_scm
3+, pytest, pytestrunner, pytest-django
44}:
55buildPythonPackage rec {
66 pname = "django-guardian";
@@ -12,12 +12,7 @@ buildPythonPackage rec {
1212 };
1313
1414 checkInputs = [ pytest pytestrunner pytest-django django_environ mock ];
15− buildInputs = [ setuptools_scm ];
16− propagatedBuildInputs = [ django six ];
17−
18− checkPhase = ''
19− ${python.interpreter} nix_run_setup test --addopts="--ignore build"
20− '';
15+ propagatedBuildInputs = [ django ];
2116
2217 meta = with stdenv.lib; {
2318 description = "Per object permissions for Django";