Skip to content

Commit

Permalink
python3Packages.django-tinymce: init at 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
onny committed Oct 24, 2024
1 parent b5d0a3c commit ff4db3b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
45 changes: 45 additions & 0 deletions pkgs/development/python-modules/django-tinymce/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
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 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3580,6 +3580,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 { };
Expand Down

0 comments on commit ff4db3b

Please sign in to comment.