depot/third_party/nixpkgs/pkgs/development/python-modules/django-crispy-bootstrap5/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

42 lines
885 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, setuptools
, pytestCheckHook
, pytest-django
, django-crispy-forms
}:
buildPythonPackage rec {
pname = "django-crispy-bootstrap5";
version = "2024.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "django-crispy-forms";
repo = "crispy-bootstrap5";
rev = "refs/tags/${version}";
hash = "sha256-ehcDwy53pZCqouvUm6qJG2FJzlFZaygTZxNYPOqH1q0=";
};
propagatedBuildInputs = [
django
setuptools
];
nativeCheckInputs = [
pytest-django
pytestCheckHook
django-crispy-forms
];
pythonImportsCheck = [ "crispy_bootstrap5" ];
meta = with lib; {
description = "Bootstrap 5 template pack for django-crispy-forms";
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap5";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}