Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 54 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromGitHub,
# build-system uv-build,
# dependencies django,
# tests pytest-django, pytestCheckHook,}:
buildPythonPackage rec { pname = "django-bootstrap3"; version = "26.1"; pyproject = true;
src = fetchFromGitHub { owner = "zostera"; repo = "django-bootstrap3"; tag = "v${version}"; hash = "sha256-DpdgwG+4We/r3NZ50no/SurEtL1BkB3P0nMv8KRj+GY="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "uv_build>=0.9.6,<0.10.0" uv_build '';
build-system = [ uv-build ];
dependencies = [ django ];
pythonImportsCheck = [ "bootstrap3" ];
nativeCheckInputs = [ pytest-django pytestCheckHook ];
env.DJANGO_SETTINGS_MODULE = "tests.app.settings";
meta = { description = "Bootstrap 3 integration for Django"; homepage = "https://github.com/zostera/django-bootstrap3"; changelog = "https://github.com/zostera/django-bootstrap3/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ hexa ]; };}