Skip to content

Commit aa2304e

Browse files
python3Packages.django-tinymce: init at 4.1.0 (#350865)
2 parents a8a4113 + 72a2c4e commit aa2304e

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchPypi,
5+
django,
6+
pythonOlder,
7+
setuptools,
8+
pytestCheckHook,
9+
pytest-django,
10+
}:
11+
12+
buildPythonPackage rec {
13+
pname = "django-tinymce";
14+
version = "4.1.0";
15+
pyproject = true;
16+
17+
disabled = pythonOlder "3.8";
18+
19+
src = fetchPypi {
20+
inherit version;
21+
pname = "django_tinymce";
22+
hash = "sha256-AuO3DpQP0pnw++9DFa7lwYVmTh64zTlrF2ljlU5DV8k=";
23+
};
24+
25+
build-system = [ setuptools ];
26+
27+
dependencies = [ django ];
28+
29+
DJANGO_SETTINGS_MODULE = "tests.settings";
30+
31+
checkInputs = [
32+
pytest-django
33+
pytestCheckHook
34+
];
35+
36+
pythonImportsCheck = [ "tinymce" ];
37+
38+
meta = {
39+
description = "Django application that contains a widget to render a form field as a TinyMCE editor";
40+
homepage = "https://github.com/jazzband/django-tinymce";
41+
changelog = "https://github.com/jazzband/django-tinymce/blob/${version}/CHANGELOG.rst";
42+
license = lib.licenses.mit;
43+
maintainers = [ lib.maintainers.onny ];
44+
};
45+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3570,6 +3570,8 @@ self: super: with self; {
35703570

35713571
django-timezone-field = callPackage ../development/python-modules/django-timezone-field { };
35723572

3573+
django-tinymce = callPackage ../development/python-modules/django-tinymce { };
3574+
35733575
django-treebeard = callPackage ../development/python-modules/django-treebeard { };
35743576

35753577
django-two-factor-auth = callPackage ../development/python-modules/django-two-factor-auth { };

0 commit comments

Comments
 (0)