mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
46 lines
1008 B
Nix
46 lines
1008 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
django,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
pytest-django,
|
|
django-crispy-forms,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-crispy-bootstrap5";
|
|
version = "2024.10";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "django-crispy-forms";
|
|
repo = "crispy-bootstrap5";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-p2sc6rajy9A0YNnv1A0wphjm7Kc6HoNf7LM3Gu21PKI=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
django
|
|
django-crispy-forms
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-django
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "crispy_bootstrap5" ];
|
|
|
|
meta = with lib; {
|
|
description = "Bootstrap 5 template pack for django-crispy-forms";
|
|
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap5";
|
|
changelog = "https://github.com/django-crispy-forms/crispy-bootstrap5/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
}
|