diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2024-09-30 15:36:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-30 15:36:30 +0200 |
commit | 5770316a43c39558e58996a984e7c825291f4c1e (patch) | |
tree | 70c93cbf52d8cc5bc1ee279e1b754856968ed454 /pkgs/development | |
parent | 905d0efc1e8001414b0bd43707eef6dfd403dc0f (diff) | |
parent | 70be41ae3f950fe0a570ead53326e23dd5ebf66c (diff) |
python312Packages.django-bootstrap4: 24.3 -> 24.4 (#344890)
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/django-bootstrap4/default.nix | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/django-bootstrap4/default.nix b/pkgs/development/python-modules/django-bootstrap4/default.nix index e34ce0f4b6249..7aa95c4717776 100644 --- a/pkgs/development/python-modules/django-bootstrap4/default.nix +++ b/pkgs/development/python-modules/django-bootstrap4/default.nix @@ -15,35 +15,39 @@ # tests python, + pytest-django, + pytestCheckHook, }: buildPythonPackage rec { pname = "django-bootstrap4"; - version = "24.3"; - format = "pyproject"; + version = "24.4"; + pyproject = true; src = fetchFromGitHub { owner = "zostera"; repo = "django-bootstrap4"; rev = "refs/tags/v${version}"; - hash = "sha256-sZY/0f1PbYQu9fN65H6H7xLvsdE9AXK0cMt9TyAKuUw="; + hash = "sha256-9URZ+10GVX171Zht49UQEDkVOZ7LfOtUvapLydzNAlk="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm ]; - propagatedBuildInputs = [ beautifulsoup4 ]; + dependencies = [ beautifulsoup4 ]; pythonImportsCheck = [ "bootstrap4" ]; - nativeCheckInputs = [ (django.override { withGdal = true; }) ]; + nativeCheckInputs = [ + (django.override { withGdal = true; }) + pytest-django + pytestCheckHook + ]; - checkPhase = '' - runHook preCheck - ${python.interpreter} manage.py test -v1 --noinput - runHook postCheck + preCheck = '' + export DJANGO_SETTINGS_MODULE=tests.app.settings ''; meta = with lib; { |