159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
45 lines
1,006 B
Nix
45 lines
1,006 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
django,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
pytest-django,
|
|
django-crispy-forms,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-crispy-bootstrap4";
|
|
version = "2024.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "django-crispy-forms";
|
|
repo = "crispy-bootstrap4";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-upHrNDhoY+8qD+aeXPcY452xUIyYjW0apf8mVo6pqY4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
django
|
|
django-crispy-forms
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-django
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "crispy_bootstrap4" ];
|
|
|
|
meta = with lib; {
|
|
description = "Bootstrap 4 template pack for django-crispy-forms";
|
|
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap4";
|
|
changelog = "https://github.com/django-crispy-forms/crispy-bootstrap4/blob/${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
}
|