mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-21 04:42:07 +03:00
python310Packages.django-crispy-forms: init at 1.14.0
This commit is contained in:
parent
5c71b2335b
commit
1c6d12b9f4
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, django
|
||||
, pytestCheckHook
|
||||
, pytest-django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-crispy-forms";
|
||||
version = "1.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "django-crispy-forms";
|
||||
repo = "django-crispy-forms";
|
||||
rev = version;
|
||||
sha256 = "sha256-NZ2lWxsQHc7Qc4HDoWgjJTZ/bJHmjpBf3q1LVLtzA+8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
];
|
||||
|
||||
# FIXME: RuntimeError: Model class source.crispy_forms.tests.forms.CrispyTestModel doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
|
||||
doCheck = false;
|
||||
|
||||
checkInputs = [
|
||||
pytest-django
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--ds=crispy_forms.tests.test_settings"
|
||||
"crispy_forms/tests/"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "crispy_forms" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The best way to have DRY Django forms.";
|
||||
homepage = "https://django-crispy-forms.readthedocs.io/en/latest/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ambroisie ];
|
||||
};
|
||||
}
|
@ -2529,6 +2529,8 @@ in {
|
||||
|
||||
django-cors-headers = callPackage ../development/python-modules/django-cors-headers { };
|
||||
|
||||
django-crispy-forms = callPackage ../development/python-modules/django-crispy-forms { };
|
||||
|
||||
django-cryptography = callPackage ../development/python-modules/django-cryptography { };
|
||||
|
||||
django-csp = callPackage ../development/python-modules/django-csp { };
|
||||
|
Loading…
Reference in New Issue
Block a user