Loading pkgs/development/python-modules/django-mptt/default.nix +15 −4 Original line number Diff line number Diff line Loading @@ -5,18 +5,21 @@ hatchling, django, django-js-asset, model-bakery, pytestCheckHook, pytest-django, }: buildPythonPackage rec { pname = "django-mptt"; version = "0.17"; version = "0.18"; pyproject = true; src = fetchFromGitHub { owner = "django-mptt"; repo = "django-mptt"; rev = version; hash = "sha256-fsVGwqlSZcBGXisbxTNGSwiuDOJ3DFV6MnB4h6OxkMA="; hash = "sha256-UJQwjOde0DkG/Pa/pd2htnp4KEn5KwYAo8GP5A7/h+I="; }; build-system = [ hatchling ]; Loading @@ -28,8 +31,16 @@ buildPythonPackage rec { pythonImportsCheck = [ "mptt" ]; # No pytest checks, since they depend on model_mommy, which is deprecated doCheck = false; nativeCheckInputs = [ model-bakery pytestCheckHook pytest-django ]; preCheck = '' export DJANGO_SETTINGS_MODULE=tests.settings export PYTHONPATH=$(pwd)/tests:$PYTHONPATH ''; meta = with lib; { description = "Utilities for implementing a modified pre-order traversal tree in Django"; Loading Loading
pkgs/development/python-modules/django-mptt/default.nix +15 −4 Original line number Diff line number Diff line Loading @@ -5,18 +5,21 @@ hatchling, django, django-js-asset, model-bakery, pytestCheckHook, pytest-django, }: buildPythonPackage rec { pname = "django-mptt"; version = "0.17"; version = "0.18"; pyproject = true; src = fetchFromGitHub { owner = "django-mptt"; repo = "django-mptt"; rev = version; hash = "sha256-fsVGwqlSZcBGXisbxTNGSwiuDOJ3DFV6MnB4h6OxkMA="; hash = "sha256-UJQwjOde0DkG/Pa/pd2htnp4KEn5KwYAo8GP5A7/h+I="; }; build-system = [ hatchling ]; Loading @@ -28,8 +31,16 @@ buildPythonPackage rec { pythonImportsCheck = [ "mptt" ]; # No pytest checks, since they depend on model_mommy, which is deprecated doCheck = false; nativeCheckInputs = [ model-bakery pytestCheckHook pytest-django ]; preCheck = '' export DJANGO_SETTINGS_MODULE=tests.settings export PYTHONPATH=$(pwd)/tests:$PYTHONPATH ''; meta = with lib; { description = "Utilities for implementing a modified pre-order traversal tree in Django"; Loading