mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03: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
|
, django_environ, mock, django, six
|
||||||
, pytest, pytestrunner, pytest-django, setuptools_scm
|
, pytest, pytestrunner, pytest-django
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "django-guardian";
|
pname = "django-guardian";
|
||||||
@ -12,12 +12,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest pytestrunner pytest-django django_environ mock ];
|
checkInputs = [ pytest pytestrunner pytest-django django_environ mock ];
|
||||||
buildInputs = [ setuptools_scm ];
|
propagatedBuildInputs = [ django ];
|
||||||
propagatedBuildInputs = [ django six ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
${python.interpreter} nix_run_setup test --addopts="--ignore build"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Per object permissions for Django";
|
description = "Per object permissions for Django";
|
||||||
|
Loading…
Reference in New Issue
Block a user