1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 django,
6}:
7let
8 version = "0.1.20";
9in
10buildPythonPackage {
11 pname = "django-mdeditor";
12 inherit version;
13
14 src = fetchFromGitHub {
15 owner = "pylixm";
16 repo = "django-mdeditor";
17 rev = "v${version}";
18 hash = "sha256-t57j1HhjNQtBwlbqe4mAHQ9WiNcIhMKYmrZkiqh+k5k=";
19 };
20
21 propagatedBuildInputs = [ django ];
22
23 # no tests
24 doCheck = false;
25 pythonImportsCheck = [ "mdeditor" ];
26
27 meta = with lib; {
28 description = "Markdown Editor plugin application for django based on Editor.md";
29 homepage = "https://github.com/pylixm/django-mdeditor";
30 changelog = "https://github.com/pylixm/django-mdeditor/releases";
31 license = licenses.gpl3;
32 maintainers = with maintainers; [ augustebaum ];
33 };
34}