depot/third_party/nixpkgs/pkgs/development/python-modules/django-crispy-bootstrap3/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

45 lines
1,011 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
setuptools,
pytestCheckHook,
pytest-django,
django-crispy-forms,
}:
buildPythonPackage rec {
pname = "django-crispy-bootstrap3";
version = "2024.1";
pyproject = true;
src = fetchFromGitHub {
owner = "django-crispy-forms";
repo = "crispy-bootstrap3";
rev = "refs/tags/${version}";
hash = "sha256-w5CGWf14Wa8hndpk5r4hlz6gGykvRL+1AhA5Pz5Ejtk=";
};
build-system = [ setuptools ];
dependencies = [
django
django-crispy-forms
];
nativeCheckInputs = [
pytest-django
pytestCheckHook
];
pythonImportsCheck = [ "crispy_bootstrap3" ];
meta = with lib; {
description = "Bootstrap 3 template pack for django-crispy-forms";
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap3";
changelog = "https://github.com/django-crispy-forms/crispy-bootstrap3/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ erictapen ];
};
}