git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.django_guardian: simplify expression
commit6e49276182c13c1268e6e41514abfaed9c06beb0 authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateFri 15 Mar 2019, 17:48 (8 years ago) parentdc7bddb
1 file changed+3−8
pkgs/development/python-modules/django_guardian/default.nix+3−8
pkgs/development/python-modules/django_guardian/default.nix+3−8
@@ -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";