lol

python310Packages.django-crispy-forms: init at 1.14.0

+47
+45
pkgs/development/python-modules/django-crispy-forms/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , django 5 + , pytestCheckHook 6 + , pytest-django 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "django-crispy-forms"; 11 + version = "1.14.0"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "django-crispy-forms"; 15 + repo = "django-crispy-forms"; 16 + rev = version; 17 + sha256 = "sha256-NZ2lWxsQHc7Qc4HDoWgjJTZ/bJHmjpBf3q1LVLtzA+8="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + django 22 + ]; 23 + 24 + # 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. 25 + doCheck = false; 26 + 27 + checkInputs = [ 28 + pytest-django 29 + pytestCheckHook 30 + ]; 31 + 32 + pytestFlagsArray = [ 33 + "--ds=crispy_forms.tests.test_settings" 34 + "crispy_forms/tests/" 35 + ]; 36 + 37 + pythonImportsCheck = [ "crispy_forms" ]; 38 + 39 + meta = with lib; { 40 + description = "The best way to have DRY Django forms."; 41 + homepage = "https://django-crispy-forms.readthedocs.io/en/latest/"; 42 + license = licenses.mit; 43 + maintainers = with maintainers; [ ambroisie ]; 44 + }; 45 + }
+2
pkgs/top-level/python-packages.nix
··· 2529 2529 2530 2530 django-cors-headers = callPackage ../development/python-modules/django-cors-headers { }; 2531 2531 2532 + django-crispy-forms = callPackage ../development/python-modules/django-crispy-forms { }; 2533 + 2532 2534 django-cryptography = callPackage ../development/python-modules/django-cryptography { }; 2533 2535 2534 2536 django-csp = callPackage ../development/python-modules/django-csp { };