Unverified Commit aa2304e3 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.django-tinymce: init at 4.1.0 (#350865)

parents a8a41134 72a2c4e5
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  django,
  pythonOlder,
  setuptools,
  pytestCheckHook,
  pytest-django,
}:

buildPythonPackage rec {
  pname = "django-tinymce";
  version = "4.1.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit version;
    pname = "django_tinymce";
    hash = "sha256-AuO3DpQP0pnw++9DFa7lwYVmTh64zTlrF2ljlU5DV8k=";
  };

  build-system = [ setuptools ];

  dependencies = [ django ];

  DJANGO_SETTINGS_MODULE = "tests.settings";

  checkInputs = [
    pytest-django
    pytestCheckHook
  ];

  pythonImportsCheck = [ "tinymce" ];

  meta = {
    description = "Django application that contains a widget to render a form field as a TinyMCE editor";
    homepage = "https://github.com/jazzband/django-tinymce";
    changelog = "https://github.com/jazzband/django-tinymce/blob/${version}/CHANGELOG.rst";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.onny ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -3570,6 +3570,8 @@ self: super: with self; {
  django-timezone-field = callPackage ../development/python-modules/django-timezone-field { };
  django-tinymce = callPackage ../development/python-modules/django-tinymce { };
  django-treebeard = callPackage ../development/python-modules/django-treebeard { };
  django-two-factor-auth = callPackage ../development/python-modules/django-two-factor-auth { };