mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
python312Packages.django-bootstrap4: 24.3 -> 24.4 (#344890)
This commit is contained in:
commit
5770316a43
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user