mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 00:49:52 +00:00
python.pkgs.django_guardian: simplify expression
This commit is contained in:
parent
dc7bddbb89
commit
6e49276182
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue