blob: 82d7e0b06374617d0053b17d89dfc5f079d57966 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchPypi,
django,
setuptools,
pytestCheckHook,
pytest-django,
}:
buildPythonPackage rec {
pname = "django-tinymce";
version = "5.0.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "django_tinymce";
hash = "sha256-YldmntWWrM9fqWf/MGEnayxTUrqsG7xlj82CUrEso4o=";
};
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 ];
};
}
|