blob: 205c71de4f14aba355fe7b06be38df589756d85b (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
}:
let
version = "0.1.20";
in
buildPythonPackage {
pname = "django-mdeditor";
inherit version;
format = "setuptools";
src = fetchFromGitHub {
owner = "pylixm";
repo = "django-mdeditor";
rev = "v${version}";
hash = "sha256-t57j1HhjNQtBwlbqe4mAHQ9WiNcIhMKYmrZkiqh+k5k=";
};
patches = [
./Bump-KaTeX-and-replace-bootcdn-with-jsdelivr.patch
];
propagatedBuildInputs = [ django ];
# no tests
doCheck = false;
pythonImportsCheck = [ "mdeditor" ];
meta = {
description = "Markdown Editor plugin application for django based on Editor.md";
homepage = "https://github.com/pylixm/django-mdeditor";
changelog = "https://github.com/pylixm/django-mdeditor/releases";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ augustebaum ];
};
}
|