From 6e49276182c13c1268e6e41514abfaed9c06beb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 15 Mar 2019 17:48:21 +0100 Subject: [PATCH] python.pkgs.django_guardian: simplify expression --- .../python-modules/django_guardian/default.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/django_guardian/default.nix b/pkgs/development/python-modules/django_guardian/default.nix index 5c8dab79f00..6182af92f58 100644 --- a/pkgs/development/python-modules/django_guardian/default.nix +++ b/pkgs/development/python-modules/django_guardian/default.nix @@ -1,6 +1,6 @@ -{ stdenv, buildPythonPackage, python, fetchPypi +{ stdenv, buildPythonPackage, fetchPypi , django_environ, mock, django, six -, pytest, pytestrunner, pytest-django, setuptools_scm +, pytest, pytestrunner, pytest-django }: buildPythonPackage rec { pname = "django-guardian"; @@ -12,12 +12,7 @@ buildPythonPackage rec { }; checkInputs = [ pytest pytestrunner pytest-django django_environ mock ]; - buildInputs = [ setuptools_scm ]; - propagatedBuildInputs = [ django six ]; - - checkPhase = '' - ${python.interpreter} nix_run_setup test --addopts="--ignore build" - ''; + propagatedBuildInputs = [ django ]; meta = with stdenv.lib; { description = "Per object permissions for Django";